Commit Graph

37 Commits

Author SHA1 Message Date
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 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
Fay Wang afa1e44f81 OPENJPA-1602: check in test case
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@931628 13f79535-47bb-0310-9956-ffa450edef68
2010-04-07 17:39:26 +00:00
Richard G. Curtis 59cdb21326 OPENJPA-1604: Backing out the two previous commits while investigating a couple test failures.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@930957 13f79535-47bb-0310-9956-ffa450edef68
2010-04-05 20:48:54 +00:00
Pinaki Poddar e36547dafc OPENJPA-1604: Test for lock mode on named query and its impact on target SQL under pessimistic lock manager plus some usability changes. Does not restore backward compatibility with 1.2 behavior -- but removes the need to set the fecth plan hint etc and ensures named query lock mode other than NONE requires an active transaction.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@930049 13f79535-47bb-0310-9956-ffa450edef68
2010-04-01 17:23:46 +00:00
Donald Woods b5b65a7d4b [maven-release-plugin] prepare release 2.0.x
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@926437 13f79535-47bb-0310-9956-ffa450edef68
2010-03-23 02:27:40 +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
Albert Lee 87e07a9d47 OPENJPA-1344 Add checks for needed exception conditions.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@824406 13f79535-47bb-0310-9956-ffa450edef68
2009-10-12 16:17:34 +00:00
Albert Lee 6485137930 OPENJPA-1323 Enhanced to conform to the new spec requirement.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@818153 13f79535-47bb-0310-9956-ffa450edef68
2009-09-23 16:14:35 +00:00
Donald Woods 382bafc874 OPENJPA-1252 Same updates to this pom as for o-p-j in r806022
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@806333 13f79535-47bb-0310-9956-ffa450edef68
2009-08-20 20:02:08 +00:00
Donald Woods 7065743f17 OPENJPA-1252 Include a Derby Network Server test profile, allow Derby version to be changed on the cmdline, and cleanup some formatting/comments.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@805841 13f79535-47bb-0310-9956-ffa450edef68
2009-08-19 15:36:02 +00:00
Donald Woods f4dfdf90b5 OPENJPA-1245 Include Eclipse projects this one depends upon.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@805045 13f79535-47bb-0310-9956-ffa450edef68
2009-08-17 17:05:31 +00:00
Donald Woods c7e032ceb7 OPENJPA-1245 Only include a basic Eclipse .project file, as running 'mvn eclipse:eclipse' will update the .classpath file and cause other developers to checkin a release specific version of the file.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@805043 13f79535-47bb-0310-9956-ffa450edef68
2009-08-17 17:02:40 +00:00
Donald Woods 7e81b8c8b5 OPENJPA-1245 Cleanup license header wrapping and some POM formatting for readability. Include basic Eclipse files, which will allow the module to be imported, as maven-eclipse-plugin will not generate the required metadata files, but will update these basic ones if present.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@805042 13f79535-47bb-0310-9956-ffa450edef68
2009-08-17 17:00:16 +00:00
Michael Dick 25d3c8247b Locking should depend on openjpa-persistence-jdbc, depending on parent
leads to dependency resolution issues.

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@804337 13f79535-47bb-0310-9956-ffa450edef68
2009-08-14 19:29:39 +00:00
Michael Dick 88dcd580d8 OPENJPA-1245:
Move lockmode tests to a separate module. This allows different derby lock settings to be set on persistence-jdbc which should speed up test execution.

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@804335 13f79535-47bb-0310-9956-ffa450edef68
2009-08-14 19:30:05 +00:00