Commit Graph

59 Commits

Author SHA1 Message Date
Donald Woods d684274e4e OPENJPA-1712 Remove openjpa-testsupport that Maven 3.0-beta-2 can't handle. Simplify javadoc creation.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@989185 13f79535-47bb-0310-9956-ffa450edef68
2010-08-25 15:49:37 +00:00
Donald Woods 5b119ab0a9 [maven-release-plugin] rollback the release of 2.0.1
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@987616 13f79535-47bb-0310-9956-ffa450edef68
2010-08-20 19:54:05 +00:00
Donald Woods 2c03991db1 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@987602 13f79535-47bb-0310-9956-ffa450edef68
2010-08-20 18:52:30 +00:00
Donald Woods b96289c695 [maven-release-plugin] prepare release 2.0.1
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@987600 13f79535-47bb-0310-9956-ffa450edef68
2010-08-20 18:52:18 +00:00
Donald Woods a3f4e2c329 [maven-release-plugin] rollback the release of 2.0.1
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@987583 13f79535-47bb-0310-9956-ffa450edef68
2010-08-20 17:25:58 +00:00
Donald Woods e69d17669b [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@987576 13f79535-47bb-0310-9956-ffa450edef68
2010-08-20 17:03:07 +00:00
Donald Woods c91b6699c7 [maven-release-plugin] prepare release 2.0.1
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@987574 13f79535-47bb-0310-9956-ffa450edef68
2010-08-20 17:02:55 +00:00
Donald Woods 59eba99411 OPENJPA-1712 Remove javadoc creation from some modules, which now lets a build pass in offline mode with no prior artifacts in the repo
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@987571 13f79535-47bb-0310-9956-ffa450edef68
2010-08-20 16:53:41 +00:00
Donald Woods 0082fa48cd OPENJPA-1712 Split creation of o-p-j-test-base.jar into its own build, as jar:test-jar doesn't allow creation of 2 tests.jar in the same module and maven can't get the dependency scope right if jar:jar is used to create the artifact.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@986552 13f79535-47bb-0310-9956-ffa450edef68
2010-08-18 02:40:39 +00:00
Donald Woods 84320dacb1 OPENJPA-1712 try another test-jar workaround
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@986464 13f79535-47bb-0310-9956-ffa450edef68
2010-08-17 19:44:22 +00:00
Donald Woods 419899a387 OPENJPA-1712 Try using classifier again for o-p-j-test-base depend
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@986460 13f79535-47bb-0310-9956-ffa450edef68
2010-08-17 19:32:49 +00:00
Donald Woods 5e38145fa1 OPENJPA-1712 use project.version instead of pom.version
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@986294 13f79535-47bb-0310-9956-ffa450edef68
2010-08-17 12:30:40 +00:00
Michael Dick 4560ddf64f get lock clause from DBDictionary
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@985574 13f79535-47bb-0310-9956-ffa450edef68
2010-08-14 19:39:01 +00:00
Michael Dick 212bfb1a4a OPENJPA-1752: TestPessimisticLocks JUNIT test produced inconsistent behavior with various backends.
Submitted By: Catalina Wei

git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@985560 13f79535-47bb-0310-9956-ffa450edef68
2010-08-14 18:37:41 +00:00
Michael Dick 0a0d7f7810 Check if database supports query timeouts, merged from Fay's changes for OPENJPA-1726
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@985551 13f79535-47bb-0310-9956-ffa450edef68
2010-08-14 18:09:18 +00:00
Albert Lee d1ed604dc1 OPENJPA-1753 Update same test case changes from trunk to 2.0.x.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@985280 13f79535-47bb-0310-9956-ffa450edef68
2010-08-13 16:50:34 +00:00
Donald Woods 697b34b9ee OPENJPA-1712 Upgrade builds to use Apache hosted Nexus repo. Backported from trunk.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@983230 13f79535-47bb-0310-9956-ffa450edef68
2010-08-07 14:00:37 +00:00
Michael Dick bfffc19ab6 OPENJPA-1714 Added Optimistic check as part the logic for setting the default lock mode for named queries in order to retain 1.x behavior.
Original changes made in trunk by Jeremy Bauer

git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@966333 13f79535-47bb-0310-9956-ffa450edef68
2010-07-21 18:00:18 +00:00
Richard G. Curtis cb34b9f07f OPENJPA-1638: Add new testcase.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@936453 13f79535-47bb-0310-9956-ffa450edef68
2010-04-21 19:18:14 +00:00
Donald Woods 14b6a637de [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@935684 13f79535-47bb-0310-9956-ffa450edef68
2010-04-19 17:33:42 +00:00
Donald Woods e52c11be3b [maven-release-plugin] prepare release 2.0.0
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@935682 13f79535-47bb-0310-9956-ffa450edef68
2010-04-19 17:33:22 +00:00
Donald Woods a0f8422e87 [maven-release-plugin] rollback the release of 2.0.0
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@934094 13f79535-47bb-0310-9956-ffa450edef68
2010-04-14 18:30:19 +00:00
Donald Woods de472e50c3 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@932977 13f79535-47bb-0310-9956-ffa450edef68
2010-04-11 19:30:54 +00:00
Donald Woods 561022df8e [maven-release-plugin] prepare release 2.0.0
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@932975 13f79535-47bb-0310-9956-ffa450edef68
2010-04-11 19:30:38 +00:00
Richard G. Curtis cf752cbc09 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/branches/2.0.x@932095 13f79535-47bb-0310-9956-ffa450edef68
2010-04-08 20:34:17 +00:00
Donald Woods c384f39d27 OPENJPA-1602: check in test case from trunk r931628 by Fay
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@931756 13f79535-47bb-0310-9956-ffa450edef68
2010-04-08 02:15:59 +00:00
Donald Woods deeb5d59ff [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@926798 13f79535-47bb-0310-9956-ffa450edef68
2010-03-23 21:39:32 +00:00
Donald Woods 78020af127 [maven-release-plugin] prepare release 2.0.0-beta3
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@926796 13f79535-47bb-0310-9956-ffa450edef68
2010-03-23 21:39:15 +00:00
Pinaki Poddar 1b20902b50 OPENJPA-1565,OPENJPA-1578:
Modify tests to raise correct lock/query exception
Fill in details in exception
Use retreive mode while initializing not store mode 

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@924626 13f79535-47bb-0310-9956-ffa450edef68
2010-03-18 03:42:50 +00:00
Pinaki Poddar 976508eed2 Raise correct exceptions
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@924551 13f79535-47bb-0310-9956-ffa450edef68
2010-03-17 23:15:34 +00:00
Michael Dick c618b4692d OPENJPA-1557:
Use openjpa.Log to control build logging instead of openjpa.loglevel

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@923929 13f79535-47bb-0310-9956-ffa450edef68
2010-03-16 18:44:11 +00:00
Jeremy Bauer 6d87bbdbb0 OPENJPA-1562 Committing code and test updates contributed by Dianne Richards. Refresh after remove was not throwing exception dictated by spec.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@923849 13f79535-47bb-0310-9956-ffa450edef68
2010-03-16 16:32:14 +00:00
Pinaki Poddar 4be5a5a194 OPENJPA-1565: Raise correct time out exception
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@922288 13f79535-47bb-0310-9956-ffa450edef68
2010-03-12 15:08:16 +00:00
Donald Woods 0befad7051 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@915979 13f79535-47bb-0310-9956-ffa450edef68
2010-02-24 21:04:54 +00:00
Donald Woods 099d18901e [maven-release-plugin] prepare release 2.0.0-beta2
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@915977 13f79535-47bb-0310-9956-ffa450edef68
2010-02-24 21:04:42 +00:00
Donald Woods c28ffa7be1 more attempts to fix release plugin issue with test jars
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@915964 13f79535-47bb-0310-9956-ffa450edef68
2010-02-24 20:24:17 +00:00
Donald Woods cda835d50b OPENJPA-1528 Upgrade to MySQL 5.1.12 driver. Include dbcp overrides needed for MySQL. Moved common dbcp and junit properties to parent pom to simplify maintenance. Add some blank lines in a couple poms to improve readability.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@915448 13f79535-47bb-0310-9956-ffa450edef68
2010-02-23 17:27:27 +00:00
Donald Woods 9c90ca5506 merged in r902968 from beta branch
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@902988 13f79535-47bb-0310-9956-ffa450edef68
2010-01-25 21:50:14 +00:00
Donald Woods 08cf015207 allow running full builds w/o running o-p-locking tests
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@901830 13f79535-47bb-0310-9956-ffa450edef68
2010-01-21 19:17:14 +00:00
Donald Woods 2b2ede1e38 OPENJPA-1374 Enable junits to be executed against an in-memory Derby 10.5.3.0 db. Moved common Derby profiles to the parent POM. Added new Derby props in o-p-j which knocked 2 mins off build time. Added a test-derbymem profile to use Derby 10.5.3.0 as in-memory DB, which reduced build time by 5 mins.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@901374 13f79535-47bb-0310-9956-ffa450edef68
2010-01-20 20:53:57 +00:00
Donald Woods 68eaab6dcc add comments on tests.openjpa.allowfailure options and behavior
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@900807 13f79535-47bb-0310-9956-ffa450edef68
2010-01-19 14:59:28 +00:00
Pinaki Poddar b5a412fd42 OPENJPA-900: Reduce reflection in hint processing. Redesign with explicit hint keys.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@899529 13f79535-47bb-0310-9956-ffa450edef68
2010-01-15 05:23:15 +00:00
Michael Dick 634d82014b OPENJPA-1245:
Remove eclipse .project file.

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@898541 13f79535-47bb-0310-9956-ffa450edef68
2010-01-12 21:59:37 +00:00
Albert Lee eea93c8346 OPENJPA-1408 - Add test binary and source jars to modules.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@885942 13f79535-47bb-0310-9956-ffa450edef68
2009-12-01 21:35:28 +00:00
Albert Lee cbbe382ecd OPENJPA-1402 - Improve concurrency by not locking relation field whenever appropriate for mixed lock manager.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@884744 13f79535-47bb-0310-9956-ffa450edef68
2009-11-27 05:11:21 +00:00
Albert Lee f6a6ee15f2 OPENJPA-1394 - DB2 supports Order By clause with recording locking using "WITH R*" construct. By enabling this feature in the DB2 dictionary, row locking can be perform with the fetch and eliminate the time window other thread snike in to fetch the same row.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@882358 13f79535-47bb-0310-9956-ffa450edef68
2009-11-19 23:28:45 +00:00
Albert Lee 4991e6bdc2 OPENJPA-1142 - Propagate lock level into LockException so that the proper optimistic/pessimistic exception is translated.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@835190 13f79535-47bb-0310-9956-ffa450edef68
2009-11-12 02:04:12 +00:00
Albert Lee ea6499afc0 OPENJPA-1306 - Correct secondary table locking problem and test cases to match. Also fixed multiple SQLs validation test case problem.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@832506 13f79535-47bb-0310-9956-ffa450edef68
2009-11-03 18:50:48 +00:00
Donald Woods 1154f23a11 OPENJPA-1368 Upgrade to HSQLDB 1.8.0.10 and in-memory db for optional HSQLDB unit testing
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@831334 13f79535-47bb-0310-9956-ffa450edef68
2009-10-30 15:33:39 +00:00
Albert Lee 8c8636fce9 OPENJPA-1306 - Add basic extended lock scope support, 3 junit testing basic, secondary table, join table, inheritance entity, element collections (lazy/eager), 1x1 (lazy/eager) and 1xm (lazy/eager).
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@831194 13f79535-47bb-0310-9956-ffa450edef68
2009-10-30 04:09:05 +00:00