Commit Graph

3991 Commits

Author SHA1 Message Date
Donald Woods db1ce09390 more testcase comments about what gets cleaned up and print err msg if an EM or EMF cannot be closed.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1022698 13f79535-47bb-0310-9956-ffa450edef68
2010-10-14 20:39:11 +00:00
Michael Dick c479f35f68 Update testcases for execution with Sybase
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1022629 13f79535-47bb-0310-9956-ffa450edef68
2010-10-14 17:50:43 +00:00
Donald Woods 754217f03a OPENJPA-1833 Add build date/time, branch version/revision and copyright to docs
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1022612 13f79535-47bb-0310-9956-ffa450edef68
2010-10-14 16:54:45 +00:00
Albert Lee 3040a2d467 OPENJPA-1764 Per agreement with Donald, change test case skip condition from || to &&.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1022609 13f79535-47bb-0310-9956-ffa450edef68
2010-10-14 16:42:49 +00:00
Michael Dick 2df8af7457 OPENJPA-1832: numeric is not fixed size.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1022583 13f79535-47bb-0310-9956-ffa450edef68
2010-10-14 15:36:27 +00:00
Michael Dick b6f237bdc8 fix manual
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1022348 13f79535-47bb-0310-9956-ffa450edef68
2010-10-14 01:44:26 +00:00
Michael Dick 50290a4e18 OPENJPA-1699: update manual
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1022344 13f79535-47bb-0310-9956-ffa450edef68
2010-10-14 01:17:36 +00:00
Donald Woods 887a7815a8 update testcase comments to denote if EM/EMFs are automatically cleaned up and what parent class it extends.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1022301 13f79535-47bb-0310-9956-ffa450edef68
2010-10-13 21:40:13 +00:00
Donald Woods dbbb6bf815 make sure tests close EMs and EMFs
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1022292 13f79535-47bb-0310-9956-ffa450edef68
2010-10-13 21:13:22 +00:00
Donald Woods ede1ebe30f OPENJPA-1792 Drop JDK5 support starting with OpenJPA 2.1
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1022278 13f79535-47bb-0310-9956-ffa450edef68
2010-10-13 20:07:06 +00:00
Donald Woods 1a3d16a013 make sure tests close EMs and EMFs
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1022228 13f79535-47bb-0310-9956-ffa450edef68
2010-10-13 18:35:46 +00:00
Donald Woods 71ae858f91 make sure tests close EMs and streams
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1022222 13f79535-47bb-0310-9956-ffa450edef68
2010-10-13 18:15:04 +00:00
Donald Woods ff900d98fe make sure tests close EMs
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1022210 13f79535-47bb-0310-9956-ffa450edef68
2010-10-13 17:42:37 +00:00
Donald Woods 172ec292a7 make sure tests close EMs
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1022206 13f79535-47bb-0310-9956-ffa450edef68
2010-10-13 17:32:48 +00:00
Donald Woods ebdc670298 migrate testcase from depricated PersistenceTestCase to AbstractPersistenceTestCase
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1022204 13f79535-47bb-0310-9956-ffa450edef68
2010-10-13 17:32:10 +00:00
Donald Woods 4f06ae4591 make sure tests close EMs
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1022198 13f79535-47bb-0310-9956-ffa450edef68
2010-10-13 17:20:30 +00:00
Donald Woods 9f1e9db866 make sure tests close EMs
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1022193 13f79535-47bb-0310-9956-ffa450edef68
2010-10-13 17:07:36 +00:00
Donald Woods 5a7b1765c7 close DriverDataSource when we're done with it
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1022190 13f79535-47bb-0310-9956-ffa450edef68
2010-10-13 17:04:57 +00:00
Donald Woods 0f0f01d366 tests were not closing EMFs
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1022181 13f79535-47bb-0310-9956-ffa450edef68
2010-10-13 16:39:41 +00:00
Donald Woods d32b7da7db update testcase to use AbstractPersistenceTestCase instead of depricated PersistenceTestCase
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1022178 13f79535-47bb-0310-9956-ffa450edef68
2010-10-13 16:37:20 +00:00
Donald Woods 660fa547d6 remove closeEM() as AbstractPersistenceTestCase now provides it
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1022168 13f79535-47bb-0310-9956-ffa450edef68
2010-10-13 16:14:30 +00:00
Donald Woods e175b242f9 testcase wasn't committing/closing some EMs, so use new closeEM() helper
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1022163 13f79535-47bb-0310-9956-ffa450edef68
2010-10-13 16:06:49 +00:00
Donald Woods 54e64edaa2 add closeEM() helper which handles open transactions before closing the EM
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1022161 13f79535-47bb-0310-9956-ffa450edef68
2010-10-13 16:06:14 +00:00
Donald Woods f3e45e5e54 additional error handling when clear(EMF) is called
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1022157 13f79535-47bb-0310-9956-ffa450edef68
2010-10-13 15:56:51 +00:00
Donald Woods 0c239c2dc4 testcase wasn't committing transactions and closing EMs
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1022155 13f79535-47bb-0310-9956-ffa450edef68
2010-10-13 15:55:11 +00:00
Donald Woods e807ca86b8 add note about how created EMFs are handled and add check for null EM before using it in endEm().
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1022142 13f79535-47bb-0310-9956-ffa450edef68
2010-10-13 15:30:24 +00:00
Donald Woods a50e380d99 add note about how created EMFs are handled
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1022130 13f79535-47bb-0310-9956-ffa450edef68
2010-10-13 15:10:52 +00:00
Donald Woods dddd2a4cfe add notes about EMF must be manually closed. also clear the EMF before closing it in when using helper method closeEMF().
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1022129 13f79535-47bb-0310-9956-ffa450edef68
2010-10-13 15:06:27 +00:00
Donald Woods f7b4bcd67d add note about EMF must be manually closed
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1022126 13f79535-47bb-0310-9956-ffa450edef68
2010-10-13 15:04:22 +00:00
Donald Woods ed00b5cee0 make sure tests cleanup EMs and EMFs
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1021976 13f79535-47bb-0310-9956-ffa450edef68
2010-10-13 02:16:07 +00:00
Donald Woods 6892f7c703 make sure tests cleanup EMs and EMFs
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1021974 13f79535-47bb-0310-9956-ffa450edef68
2010-10-13 02:01:32 +00:00
Donald Woods 7b6b4157d0 make sure tests cleanup EMs and EMFs
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1021970 13f79535-47bb-0310-9956-ffa450edef68
2010-10-13 01:15:25 +00:00
Donald Woods 1edd0d97c1 missed a testcase update in r1021956
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1021957 13f79535-47bb-0310-9956-ffa450edef68
2010-10-13 00:09:07 +00:00
Donald Woods 06964726a2 make sure tests cleanup EMs and EMFs
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1021956 13f79535-47bb-0310-9956-ffa450edef68
2010-10-13 00:00:52 +00:00
Donald Woods 5588ffe143 make sure tests cleanup EMs and EMFs
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1021925 13f79535-47bb-0310-9956-ffa450edef68
2010-10-12 21:13:32 +00:00
Donald Woods c9ad4ea728 make sure tests cleanup EMs and EMFs. add @AllowFailure to excluded tests
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1021921 13f79535-47bb-0310-9956-ffa450edef68
2010-10-12 21:05:16 +00:00
Donald Woods be183a3a94 OPENJPA-1831 DataSourceFactory manipulates queryTimeout which is already in milliseconds
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1021891 13f79535-47bb-0310-9956-ffa450edef68
2010-10-12 19:23:12 +00:00
Donald Woods b2a62422d3 testcase helper improvement to handle null props
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1021890 13f79535-47bb-0310-9956-ffa450edef68
2010-10-12 19:22:58 +00:00
Donald Woods 0bcdb27e8f OPENJPA-1818 Exclude 'order' as valid column name.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1021875 13f79535-47bb-0310-9956-ffa450edef68
2010-10-12 18:31:13 +00:00
Donald Woods e991772527 make sure tests cleanup EMs and EMFs
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1021839 13f79535-47bb-0310-9956-ffa450edef68
2010-10-12 17:02:53 +00:00
Donald Woods 58d1f4966a make sure tests cleanup EMs and EMFs
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1021802 13f79535-47bb-0310-9956-ffa450edef68
2010-10-12 15:38:20 +00:00
Donald Woods 2f648350b4 OPENJPA-1764 test can only be run against Derby, due to openjpa.ConnectionUserName being used as a schema name
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1021574 13f79535-47bb-0310-9956-ffa450edef68
2010-10-12 01:35:19 +00:00
Donald Woods 7f332d9cf8 OPENJPA-1764 test can only be run against Derby, due to openjpa.ConnectionUserName being used as a schema name
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1021525 13f79535-47bb-0310-9956-ffa450edef68
2010-10-11 21:49:36 +00:00
Michael Dick a99e618f5a Testcase updates for Sybase
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1021522 13f79535-47bb-0310-9956-ffa450edef68
2010-10-11 21:45:47 +00:00
Michael Dick abf397a513 Add Sybase SQLState for EntityExistsException
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1021520 13f79535-47bb-0310-9956-ffa450edef68
2010-10-11 21:44:50 +00:00
Michael Dick a63ba3ed38 Refactor testcase and ensure expected exception occurs.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1021490 13f79535-47bb-0310-9956-ffa450edef68
2010-10-11 20:05:00 +00:00
Donald Woods b229fbd13e OPENJPA-1764 Minor cleanup for static variables and exception messages
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1021489 13f79535-47bb-0310-9956-ffa450edef68
2010-10-11 20:03:18 +00:00
Donald Woods 739ee54c19 OPENJPA-1830 Deserialization of EMF causes openjpa.connectionPassword to be overwritten with Value.INVISIBLE
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1021488 13f79535-47bb-0310-9956-ffa450edef68
2010-10-11 20:00:17 +00:00
Donald Woods 9618edd2f1 create heap dumps for debugging when we hit OOMs
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1021448 13f79535-47bb-0310-9956-ffa450edef68
2010-10-11 18:11:21 +00:00
Richard G. Curtis b62b8fc920 OPENJPA-1644: Don't clear values from a deleted instnace.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1021400 13f79535-47bb-0310-9956-ffa450edef68
2010-10-11 16:04:58 +00:00