Commit Graph

3481 Commits

Author SHA1 Message Date
Jeremy Bauer 7425ffca2d OPENJPA-1613 Per JPA spec, OpenJPA should take the @Transient annotation into account when making a default access determination. This commit includes test code contributed by Simon Droscher.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@936930 13f79535-47bb-0310-9956-ffa450edef68
2010-04-22 16:12:50 +00:00
Donald Woods 4ad9478ffa move openjpa-maven-plugin version to parent pom, since two modules are using it now
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@936861 13f79535-47bb-0310-9956-ffa450edef68
2010-04-22 14:19:52 +00:00
Donald Woods fdb539d972 OPENJPA-1639 Create some simple openjpa-xmlstore tests
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@936851 13f79535-47bb-0310-9956-ffa450edef68
2010-04-22 13:59:49 +00:00
Donald Woods f35802f702 OPENJPA-1639 revert for now
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@936504 13f79535-47bb-0310-9956-ffa450edef68
2010-04-21 20:55:50 +00:00
Donald Woods 4791781de0 OPENJPA-1639 use 2.0.1-SNAPSHOT until 2.0.0 is released
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@936502 13f79535-47bb-0310-9956-ffa450edef68
2010-04-21 20:47:50 +00:00
Donald Woods 2c9790e84f OPENJPA-1639 Create some simple openjpa-xmlstore tests
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@936497 13f79535-47bb-0310-9956-ffa450edef68
2010-04-21 20:42:04 +00:00
Fay Wang 5e6d42a5bc OPENJPA-1596: fix index name for DB2 zOS when schema is present.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@936449 13f79535-47bb-0310-9956-ffa450edef68
2010-04-21 19:11:45 +00:00
Richard G. Curtis 0cfb656770 OPENJPA-1638: Add new testcase.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@936445 13f79535-47bb-0310-9956-ffa450edef68
2010-04-21 19:05:41 +00:00
Richard G. Curtis 58f33c2119 OPENJPA-1604: Doc update.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@936436 13f79535-47bb-0310-9956-ffa450edef68
2010-04-21 18:48:29 +00:00
Donald Woods ba9dedd4d4 update title to say 2.1
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@936399 13f79535-47bb-0310-9956-ffa450edef68
2010-04-21 17:27:14 +00:00
Pinaki Poddar 72b145a562 OPENJPA-703: Ignore prepared query if query using locks
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@935231 13f79535-47bb-0310-9956-ffa450edef68
2010-04-17 19:10:15 +00:00
Donald Woods 5cbc3c4e3f merge in latest release notes from branches/2.0.x
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@935080 13f79535-47bb-0310-9956-ffa450edef68
2010-04-16 21:10:34 +00:00
Pinaki Poddar 4502c30b16 OPENJPA-703: Add a test for thread-safety of cache statistics
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@935074 13f79535-47bb-0310-9956-ffa450edef68
2010-04-16 20:37:39 +00:00
Pinaki Poddar 53e63d202f OPENJPA-703: Disable query statistics by default.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@935073 13f79535-47bb-0310-9956-ffa450edef68
2010-04-16 20:35:42 +00:00
Pinaki Poddar fb1808b2a3 OPENJPA-703: Remove sync on stats
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@935035 13f79535-47bb-0310-9956-ffa450edef68
2010-04-16 18:32:32 +00:00
Pinaki Poddar 191c7fd329 OPENJPA-703: Collect query statistics for a fixed number of queries, in a thread-safe manner.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@935033 13f79535-47bb-0310-9956-ffa450edef68
2010-04-16 18:29:33 +00:00
Donald Woods 82af197ca6 update tck2 scripts
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@934884 13f79535-47bb-0310-9956-ffa450edef68
2010-04-16 14:05:00 +00:00
Pinaki Poddar 296752741e OPENJPA-1628: Usability changes
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@934507 13f79535-47bb-0310-9956-ffa450edef68
2010-04-15 18:25:46 +00:00
Jeremy Bauer 5de5b5136f OPENJPA-1605 Correct regression issue with table generation issue in schema generator. Only the first table name returned in a generic DBMD query was used to populate the schema. This broke the reverse mapping tool, which uses a generic query by default.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@934493 13f79535-47bb-0310-9956-ffa450edef68
2010-04-15 17:24:02 +00:00
Donald Woods cdc597a26b update tck runs to use new openjpa.Log setting. force usage of new patch subset until we get the final ones.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@934111 13f79535-47bb-0310-9956-ffa450edef68
2010-04-14 18:48:27 +00:00
Richard G. Curtis 1ddfdcef96 OPENJPA-1630: Synchronize when modifying MetaDataRepository._registered regardless of MetaDataRepository.Preload setting.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@934103 13f79535-47bb-0310-9956-ffa450edef68
2010-04-14 18:39:54 +00:00
Fay Wang 8a034d6717 OPENJPA-1627: fix OrderBy with EmbeddedId.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@934101 13f79535-47bb-0310-9956-ffa450edef68
2010-04-14 18:37:30 +00:00
Richard G. Curtis f90b0bb16f OPENJPA-1631: Add synchronization to AnnotationPersistenceXMLMetaDataParser.parse() method to make it thread safe.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@934100 13f79535-47bb-0310-9956-ffa450edef68
2010-04-14 18:37:14 +00:00
Donald Woods 6eb56facc2 remove usage of current patches until we get either an updated TCK or patchset from Oracle
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@933710 13f79535-47bb-0310-9956-ffa450edef68
2010-04-13 17:28:41 +00:00
Pinaki Poddar 85b89a8701 OPENJPA-1628,OPENJPA-1187,OPENJPA-1622: Use javac's -s option to control output rather than extraneous -Aout option
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@933342 13f79535-47bb-0310-9956-ffa450edef68
2010-04-12 18:12:49 +00:00
Donald Woods 0ca80f7f79 test
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@932974 13f79535-47bb-0310-9956-ffa450edef68
2010-04-11 19:23:50 +00:00
Donald Woods 2fbfba0705 merge in release note updates from 2.0.0 branch
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@932973 13f79535-47bb-0310-9956-ffa450edef68
2010-04-11 18:59:14 +00:00
Donald Woods 7188baa2c0 OPENJPA-1179 openjpa.jdbc.QuerySQLCache plugin no longer accepts value=all, so doc it in the Migration section. Testcase contributed by Tim McConnell.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@932929 13f79535-47bb-0310-9956-ffa450edef68
2010-04-11 16:21:01 +00:00
Donald Woods dab906385e OPENJPA-1569 remove commented code
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@932766 13f79535-47bb-0310-9956-ffa450edef68
2010-04-10 17:21:48 +00:00
Fay Wang 689f42f7aa OPENJPA-1625: making the creation of StateManagerImpl consistent by calling newStateManagerImpl consistently.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@932743 13f79535-47bb-0310-9956-ffa450edef68
2010-04-10 15:18:42 +00:00
Donald Woods 33e8df53bd OPENJPA-1569 @Strategy triggers an InvalidStateException for fields which are declared as Java interfaces. Contributed by Jerry Carter.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@932720 13f79535-47bb-0310-9956-ffa450edef68
2010-04-10 13:51:51 +00:00
Fay Wang 53325aed75 OPENJPA-1608: the RetainUpdateLock is not supported for IDS 11.10
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@932643 13f79535-47bb-0310-9956-ffa450edef68
2010-04-09 22:48:35 +00:00
Donald Woods b9e87067b7 OPENJPA-1622 Update RAT excludes to not check the added service provider file
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@932552 13f79535-47bb-0310-9956-ffa450edef68
2010-04-09 19:10:12 +00:00
Pinaki Poddar ce0ffe84f2 OPENJPA-1662: Add openjpa. prefix to Annotation Processor -A options
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@932545 13f79535-47bb-0310-9956-ffa450edef68
2010-04-09 18:56:33 +00:00
Pinaki Poddar 6ccd59c32b OPENJPA-1662: Add openjpa. prefix to Annotation Processor -A options
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@932544 13f79535-47bb-0310-9956-ffa450edef68
2010-04-09 18:55:31 +00:00
Donald Woods aa0ba90782 OPENJPA-1622 Move services file out of the builds and into the packaging jars
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@932539 13f79535-47bb-0310-9956-ffa450edef68
2010-04-09 18:38:02 +00:00
Donald Woods 26d306c232 OPENJPA-1624 Fix intermittent datacache timeout failures in TestSJVMCache and CacheTest
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@932530 13f79535-47bb-0310-9956-ffa450edef68
2010-04-09 17:47:32 +00:00
Pinaki Poddar f95ac63c8b OPENJPA-1622: Support discovery. But hide by default. Add boolean flag -Aopenjpa.generate to activate
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@932507 13f79535-47bb-0310-9956-ffa450edef68
2010-04-09 16:51:08 +00:00
Dianne E. Richards aefe784c94 OPENJPA-1623 Add tests for qualified paths in JPQL
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@932487 13f79535-47bb-0310-9956-ffa450edef68
2010-04-09 16:18:41 +00:00
Pinaki Poddar cfe2a0d236 OPENJPA-1622: Support discovery. But hide by default. Add boolean flag -Aopenjpa.generate to activate
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@932480 13f79535-47bb-0310-9956-ffa450edef68
2010-04-09 16:06:19 +00:00
Donald Woods e247f78922 OPENJPA-1621 Fix TestGeneratedValues for DB2
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@932212 13f79535-47bb-0310-9956-ffa450edef68
2010-04-09 02:04:53 +00:00
Pinaki Poddar f8b8ce8eb0 Remove commented lines. Add proper comments
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@932206 13f79535-47bb-0310-9956-ffa450edef68
2010-04-09 00:54:24 +00:00
Donald Woods 9fd0cadd87 OPENJPA-1616 remove commented out code
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@932196 13f79535-47bb-0310-9956-ffa450edef68
2010-04-09 00:35:54 +00:00
Donald Woods f102795700 OPENJPA-1620 Fix TestJDBCEscapeDate test for HSQLDB
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@932191 13f79535-47bb-0310-9956-ffa450edef68
2010-04-09 00:29:38 +00:00
Donald Woods 20a07726f9 OPENJPA-1616 Fix TestTimeoutException tests for Oracle and re-enable for DB2
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@932139 13f79535-47bb-0310-9956-ffa450edef68
2010-04-08 21:54:21 +00:00
Pinaki Poddar 92914c0a6d OPENJPA-703: Use weak map for caches
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@932117 13f79535-47bb-0310-9956-ffa450edef68
2010-04-08 21:16:54 +00:00
Donald Woods c924de842e OPENJPA-1620 Fix TestJDBCEscapeDate test for MSSQL
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@932107 13f79535-47bb-0310-9956-ffa450edef68
2010-04-08 20:47:54 +00:00
Richard G. Curtis 8634acd327 OPENJPA-1604: Committing test changes. Code contributed by Pinaki Poddar and Rick Curtis
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@932105 13f79535-47bb-0310-9956-ffa450edef68
2010-04-08 20:47:45 +00:00
Richard G. Curtis 43988aba97 OPENJPA-1604: Override default lock level for NamedQueries when using the pessimistic lock manager. Code contributed by Pinaki Poddar and Rick Curtis
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@932094 13f79535-47bb-0310-9956-ffa450edef68
2010-04-08 20:32:36 +00:00
Donald Woods dbb66f4d94 OPENJPA-1616 Exclude TestTimeoutException tests on HSQLDB as it uses supportsSelectForUpdate=false
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@932082 13f79535-47bb-0310-9956-ffa450edef68
2010-04-08 19:55:08 +00:00