Commit Graph

66 Commits

Author SHA1 Message Date
Jeremy Bauer 103aa4ffc0 OPENJPA-2140 Update locking tests to use a unique pu name
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1292564 13f79535-47bb-0310-9956-ffa450edef68
2012-02-22 22:46:51 +00:00
Albert Lee 408d8b4463 Update pom.xml version to 2.3.0-SNAPSHOTS in trunk after 2.2.0 is released.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1291435 13f79535-47bb-0310-9956-ffa450edef68
2012-02-20 20:37:05 +00:00
Albert Lee 4d1e1bc8df [maven-release-plugin] prepare release 2.2.x
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1244808 13f79535-47bb-0310-9956-ffa450edef68
2012-02-16 00:30:29 +00:00
Mark Struberg 3beb74571a switch back trunk to 2.2.0-SNAPSHOT
we wil restart the 2.2.x after a few important fixes on trunk


git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1230495 13f79535-47bb-0310-9956-ffa450edef68
2012-01-12 11:28:50 +00:00
Mark Struberg 6289157f9c release preparation. Move trunk to 2.3.0-SNAPSHOT
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1229557 13f79535-47bb-0310-9956-ffa450edef68
2012-01-10 14:29:08 +00:00
Albert Lee 03d4f2f8b6 OPENJPA-1972 Update test and adapt to DB2 9.7 behavior changes.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1087429 13f79535-47bb-0310-9956-ffa450edef68
2011-03-31 20:13:17 +00:00
Albert Lee e3be88bf7e Fix test cases running in DB2 due to 1) dict.forUpdateClause must be obtained after emf is created because specific dictionary may override the value of this attribute, 2) The forUpdateClause in DB2 is LockMode type dependent, (i.e. WITH RR/RS) therefore can not depends on this attribute for positive test case comparison, negative test ok.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1073542 13f79535-47bb-0310-9956-ffa450edef68
2011-02-22 23:15:01 +00:00
Albert Lee 0c37fc6e57 OPENJPA-1943 - Apply query timeout value to pessimistic row lock statement execution.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1072061 13f79535-47bb-0310-9956-ffa450edef68
2011-02-18 16:59:16 +00:00
Michael Dick 3c8d303c9a OPENJPA-1876: add jdbc.DBDictionary prop to profiles for locking tests
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1068916 13f79535-47bb-0310-9956-ffa450edef68
2011-02-09 14:46:29 +00:00
Jeremy Bauer d1ec54c691 OPENJPA-1935 Updated Informix dictionary to examine nested SQL exceptions when determining whether a generic exception is a lock exception. Added Informix JDBC profile to jdbc and locking poms.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1068472 13f79535-47bb-0310-9956-ffa450edef68
2011-02-08 16:42:22 +00:00
Michael Dick 2cc69063aa [maven-release-plugin] prepare release 2.1.x
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1040584 13f79535-47bb-0310-9956-ffa450edef68
2010-11-30 15:30:48 +00:00
Fay Wang 324ca8e894 OPENJPA-1762: fix test case problem
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1032791 13f79535-47bb-0310-9956-ffa450edef68
2010-11-09 00:06:04 +00:00
Fay Wang 4b19d0fa4a OPENJPA-1762: lock join table when extended pessimistic scope is used
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1032116 13f79535-47bb-0310-9956-ffa450edef68
2010-11-06 17:24:17 +00:00
Donald Woods 0baa453c37 have test close EM
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1027706 13f79535-47bb-0310-9956-ffa450edef68
2010-10-26 19:46:42 +00:00
Donald Woods c92c435728 minor pom updates
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1003634 13f79535-47bb-0310-9956-ffa450edef68
2010-10-01 20:24:41 +00:00
Donald Woods c7a08227a3 OPENJPA-1764 Need to explicitly close dbcp.BasicDataSource instances, moved commons-dbcp test depend to parent pom and added closing of EMF in ContainerTest during test tearDown.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1002860 13f79535-47bb-0310-9956-ffa450edef68
2010-09-29 21:43:11 +00:00
Donald Woods 4aa5b43825 OPENJPA-1764 Fix bug in DBCPDriverDataSource.mergeConnectionProperties, move common surefire-plugin systemProperties to parent pom and move the connection user/password to equivalent openjpa.Connection settings
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1002745 13f79535-47bb-0310-9956-ffa450edef68
2010-09-29 17:12:49 +00:00
Donald Woods ed85f020fd OPENJPA-1764 Automatically enable connection pooling in unmanaged environments when Commons DBCP is available
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1002321 13f79535-47bb-0310-9956-ffa450edef68
2010-09-28 18:56:51 +00:00
Jeremy Bauer 9b105a2f00 OPENJPA-1809 Modified syncVersion exception path to pass the lock level into the exception producer. This eventually allows the exception translator to correctly decide whether the exception was the result of a lock timeout.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@999559 13f79535-47bb-0310-9956-ffa450edef68
2010-09-21 19:27:08 +00:00
Donald Woods c772a6f26d OPENJPA-1712 Merge in build updates from 2.0.x branch
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@989256 13f79535-47bb-0310-9956-ffa450edef68
2010-08-25 17:46:12 +00:00
Donald Woods 560afb7df4 OPENJPA-1712 Merge in build updates from 2.0.x branch
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@987238 13f79535-47bb-0310-9956-ffa450edef68
2010-08-19 17:31:55 +00:00
Albert Lee 20507e6d4b OPENJPA-1753 Remove commented code
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@985210 13f79535-47bb-0310-9956-ffa450edef68
2010-08-13 14:37:38 +00:00
Albert Lee 7b1d5067d6 OPENJPA-1753 update lockmgr RefreshPermutation for more consistent test cycle.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@984243 13f79535-47bb-0310-9956-ffa450edef68
2010-08-10 22:22:10 +00:00
Albert Lee c9f58ec243 OPENJPA-1753 a) remove unneeded import, b) close and clean up em using add Act.CloseEm, c) add better diagnostic info in SequenceActionsTest and d) clean up and update find/lock permutation tests for more consistent testing.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@984147 13f79535-47bb-0310-9956-ffa450edef68
2010-08-10 17:57:17 +00:00
Michael Dick 0f0c6de652 Get lock clause from DBDictionary in locking tests
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@983762 13f79535-47bb-0310-9956-ffa450edef68
2010-08-09 18:22:24 +00:00
Catalina Wei c9a86d9652 OPENJPA-1752: TestPessimisticLocks JUNIT test produced inconsistent behavior with various backends
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@983340 13f79535-47bb-0310-9956-ffa450edef68
2010-08-08 03:53:59 +00:00
Donald Woods bcfadcff1b OPENJPA-1712 Fix creation of test artifacts, so they get signed during -Papache-release deploys to nexus repo
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@983040 13f79535-47bb-0310-9956-ffa450edef68
2010-08-06 16:22:21 +00:00
Fay Wang bdb09074a7 OPENJPA-1726: exclude the test case from running on Postgres as Postgres does not support setQueryTimeout.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@980101 13f79535-47bb-0310-9956-ffa450edef68
2010-07-28 15:35:13 +00:00
Jeremy Bauer 90355300bb OPENJPA-1604 Added Optimistic check as part the logic for setting the default lock mode for named queries in order to retain 1.x behavior.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@938203 13f79535-47bb-0310-9956-ffa450edef68
2010-04-26 19:34:34 +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 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