Commit Graph

3904 Commits

Author SHA1 Message Date
Michael Dick f9cfbbfe2c OPENJPA-1840: handle query timeouts with Sybase - SQLState JZ006:JZ0TO
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1023838 13f79535-47bb-0310-9956-ffa450edef68
2010-10-18 15:11:30 +00:00
Albert Lee 3707cc8b6d Disable SQL log by default.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1023828 13f79535-47bb-0310-9956-ffa450edef68
2010-10-18 15:04:09 +00:00
Michael Dick d99e1dff36 OPENJPA-1838: allow FKs to be added when using Sybase
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1023351 13f79535-47bb-0310-9956-ffa450edef68
2010-10-16 18:52:21 +00:00
Donald Woods 2414c88960 OPENJPA-1764 Doc updates for the new Commons DBCP based connection pooling support
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1023114 13f79535-47bb-0310-9956-ffa450edef68
2010-10-15 21:13:31 +00:00
Donald Woods eac769a299 OPENJPA-1836 Only perform chmod on files/dirs that the nightly.user.name owns
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1023060 13f79535-47bb-0310-9956-ffa450edef68
2010-10-15 18:28:57 +00:00
Donald Woods fa8a517fb0 OPENJPA-1792 Drop JDK5 support starting with OpenJPA 2.1
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1023019 13f79535-47bb-0310-9956-ffa450edef68
2010-10-15 16:57:55 +00:00
Michael Dick dd903f6244 remove unmappable character from PathFinder.java
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1022986 13f79535-47bb-0310-9956-ffa450edef68
2010-10-15 16:02:10 +00:00
Donald Woods ada720a769 OPENJPA-1836 update nightly-upload profile to use key/passphrase
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1022979 13f79535-47bb-0310-9956-ffa450edef68
2010-10-15 15:55:08 +00:00
Donald Woods 8a5c16e57c OPENJPA-1792 Drop JDK5 support starting with OpenJPA 2.1
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1022964 13f79535-47bb-0310-9956-ffa450edef68
2010-10-15 15:17:04 +00:00
Michael Dick 2e11a6a90b OPENJPA-1835: add dummy as an invalid column name for Sybase and update testcase to use DBIdentifier to get column name.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1022960 13f79535-47bb-0310-9956-ffa450edef68
2010-10-15 15:00:30 +00:00
Albert Lee 0e9c5e52dd OPENJPA-1764 Fix test cases where finally { closeEMF(emf1) } still required ConnectionDriverName be specified.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1022812 13f79535-47bb-0310-9956-ffa450edef68
2010-10-15 02:36:56 +00:00
Donald Woods c6582b9f2b make sure tests cleanup EMs and EMFs
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1022700 13f79535-47bb-0310-9956-ffa450edef68
2010-10-14 20:48:16 +00:00
Donald Woods 8cafaf9f19 make sure tests cleanup EMs and EMFs
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1022699 13f79535-47bb-0310-9956-ffa450edef68
2010-10-14 20:42:33 +00:00
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