Commit Graph

3769 Commits

Author SHA1 Message Date
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
Michael Dick ad6b24baec Use filtering jdbc listener for criteria testcases
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1021384 13f79535-47bb-0310-9956-ffa450edef68
2010-10-11 15:27:22 +00:00
Donald Woods 81eb5f86cf minor testcase helper updates
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1006145 13f79535-47bb-0310-9956-ffa450edef68
2010-10-09 12:36:44 +00:00
Donald Woods 827cc3f400 make sure tests cleanup EMs and EMFs. 6 of the TestSwitchConnection and TestOverrideNonJtaDataSource are failing on everything except Derby, so exclude them on other DBs.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1006102 13f79535-47bb-0310-9956-ffa450edef68
2010-10-09 02:10:38 +00:00
Donald Woods 7920a950aa rollback all SingleEMTestCase changes
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1006039 13f79535-47bb-0310-9956-ffa450edef68
2010-10-08 21:50:48 +00:00
Donald Woods 044164b4ad make sure tests cleanup EMs and EMFs
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1006038 13f79535-47bb-0310-9956-ffa450edef68
2010-10-08 21:46:25 +00:00
Donald Woods a0fad7795b make sure tests cleanup EMs and EMFs
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1006034 13f79535-47bb-0310-9956-ffa450edef68
2010-10-08 21:37:48 +00:00
Donald Woods ab67cdd17d rollback setting em=null on cleanup
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1006031 13f79535-47bb-0310-9956-ffa450edef68
2010-10-08 21:31:17 +00:00
Donald Woods 8a17669161 minor testcase helper tweaks
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1006029 13f79535-47bb-0310-9956-ffa450edef68
2010-10-08 21:23:20 +00:00
Donald Woods 1c13b8e59e some extra tearDown cleanup
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1006013 13f79535-47bb-0310-9956-ffa450edef68
2010-10-08 20:54:40 +00:00
Michael Dick ea0a44edd3 Filter connection setup SQL from SybaseDictionary.decorate when running unit tests.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1006010 13f79535-47bb-0310-9956-ffa450edef68
2010-10-08 20:32:21 +00:00
Donald Woods 9c87751ae7 close streams
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1006009 13f79535-47bb-0310-9956-ffa450edef68
2010-10-08 20:30:57 +00:00
Michael Dick 733d90cea6 Sybase converts "" to " ", update testcase expectations appropriately.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1006002 13f79535-47bb-0310-9956-ffa450edef68
2010-10-08 20:10:15 +00:00
Donald Woods 0a17bc1943 make sure tests cleanup EMs and EMFs
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1005997 13f79535-47bb-0310-9956-ffa450edef68
2010-10-08 20:06:33 +00:00
Michael Dick efec8f38f0 More helpful assert in testcase
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1005984 13f79535-47bb-0310-9956-ffa450edef68
2010-10-08 19:33:37 +00:00
Michael Dick 6ebaf34bd9 Set scale and precision for AllFieldsTypeTest.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1005982 13f79535-47bb-0310-9956-ffa450edef68
2010-10-08 19:29:15 +00:00
Donald Woods a9c49f705e make sure tests cleanup EMs and EMFs
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1005959 13f79535-47bb-0310-9956-ffa450edef68
2010-10-08 19:02:17 +00:00
Donald Woods 447f48950d make sure tests cleanup EMs and EMFs
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1005920 13f79535-47bb-0310-9956-ffa450edef68
2010-10-08 17:40:53 +00:00
Donald Woods bbb2f23a85 add comment
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1005918 13f79535-47bb-0310-9956-ffa450edef68
2010-10-08 17:32:37 +00:00
Donald Woods 9b56a3f5cc make sure tests cleanup EMs and EMFs
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1005916 13f79535-47bb-0310-9956-ffa450edef68
2010-10-08 17:25:47 +00:00
Donald Woods 353f65783f surefire excluded tests
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1005911 13f79535-47bb-0310-9956-ffa450edef68
2010-10-08 17:16:13 +00:00
Donald Woods f4c9c6c45e surefire excluded tests
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1005910 13f79535-47bb-0310-9956-ffa450edef68
2010-10-08 17:16:07 +00:00
Donald Woods 996abba172 make sure tests cleanup EMs and EMFs
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1005903 13f79535-47bb-0310-9956-ffa450edef68
2010-10-08 17:05:57 +00:00