Commit Graph

1593 Commits

Author SHA1 Message Date
Richard G. Curtis 73cd301520 OPENJPA-1892: Fix NPE in DataCacheStoreManager.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1036988 13f79535-47bb-0310-9956-ffa450edef68
2010-11-19 19:48:49 +00:00
Michael Dick 24e17363ef Move jest tests to sandbox
A    https://svn.apache.org/repos/asf/openjpa/sandboxes/jest/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/jest/jest
D    https://svn.apache.org/repos/asf/openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/jest




git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1036721 13f79535-47bb-0310-9956-ffa450edef68
2010-11-19 02:55:45 +00:00
Pinaki Poddar 559c43468a OPENJPA-1859: Add few encoding tests
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1036673 13f79535-47bb-0310-9956-ffa450edef68
2010-11-18 23:06:23 +00:00
Richard G. Curtis 98ebca2fe7 OPENJPA-1886: Remove query parameters when tracing.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1035834 13f79535-47bb-0310-9956-ffa450edef68
2010-11-16 22:12:18 +00:00
Richard G. Curtis c960f725cb OPENJPA-1882: Fix DataCacheStoreManager NPE.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1033637 13f79535-47bb-0310-9956-ffa450edef68
2010-11-10 18:34:35 +00:00
Michael Dick 6d423c5b6b OPENJPA-1874: handle Oracle XMLType columns with @Lob annotation
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1031648 13f79535-47bb-0310-9956-ffa450edef68
2010-11-05 15:57:26 +00:00
Fay Wang ad98d444e1 OPENJPA-1810: make QueryKey distinguishable for CriteriaQuery
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1031244 13f79535-47bb-0310-9956-ffa450edef68
2010-11-04 21:03:23 +00:00
Michael Dick a09a2b5856 OPENJPA-1870 OPENJPA-740: adding testcase
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1031240 13f79535-47bb-0310-9956-ffa450edef68
2010-11-04 20:58:09 +00:00
Donald Woods 33c8d872b4 another attempt to fix the intermitent datacache test failures as the persist() is taking 1.2 secs on some test machines
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1031116 13f79535-47bb-0310-9956-ffa450edef68
2010-11-04 18:10:00 +00:00
Donald Woods 829334021c another attempt to fix the intermitent datacache test failures
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1031090 13f79535-47bb-0310-9956-ffa450edef68
2010-11-04 17:28:31 +00:00
Dianne E. Richards c6d23cdb08 OPENJPA-1862 Enable test to run correctly on DB2
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1030495 13f79535-47bb-0310-9956-ffa450edef68
2010-11-03 15:19:29 +00:00
Richard G. Curtis a70b134576 OPENJPA-1851: Backing changes out of trunk while we continue to develop this feature in a sandbox.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1030492 13f79535-47bb-0310-9956-ffa450edef68
2010-11-03 15:11:15 +00:00
Richard G. Curtis 2f6baf7119 OPENJPA-1851: Backing changes out of trunk while we continue to develop this feature in a sandbox.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1030479 13f79535-47bb-0310-9956-ffa450edef68
2010-11-03 14:51:28 +00:00
Donald Woods 2ca9d9f30f one more attempt to fix these failing testTimeouts1 failures on some machines
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1030215 13f79535-47bb-0310-9956-ffa450edef68
2010-11-02 21:02:21 +00:00
Richard G. Curtis b24d729deb OPENJPA-1868: Miscellaneous FindBugs suggested performance improvements for lib, persistence, and persistence-jdbc.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1030172 13f79535-47bb-0310-9956-ffa450edef68
2010-11-02 18:50:13 +00:00
Donald Woods 05d19a0672 exclude JEST tests for now
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1030124 13f79535-47bb-0310-9956-ffa450edef68
2010-11-02 17:04:25 +00:00
Richard G. Curtis d99b9ba034 OPENJPA-1867: Fix ClassCastException when loading from DataCache.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1030056 13f79535-47bb-0310-9956-ffa450edef68
2010-11-02 14:19:30 +00:00
Albert Lee ab326efe07 OPENJPA-1793 - New test case testEntityA_Embed_Single_Coll caused "ORA-01861: literal does not match format string" when run against Oracle due to default DATE column format differences. (See http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/sql_elements004.htm)
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1029821 13f79535-47bb-0310-9956-ffa450edef68
2010-11-01 20:19:32 +00:00
Pinaki Poddar d4416c192f OPENJPA-1851: minor edit
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1028520 13f79535-47bb-0310-9956-ffa450edef68
2010-10-28 22:28:24 +00:00
Pinaki Poddar c325e704eb OPENJPA-1821: Defensive thread guard on reparametrization.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1028488 13f79535-47bb-0310-9956-ffa450edef68
2010-10-28 21:25:14 +00:00
Pinaki Poddar 54234f6102 OPENJPA-1845: Detect query using IN expression with parameters and exclude from query cache
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1028393 13f79535-47bb-0310-9956-ffa450edef68
2010-10-28 17:18:09 +00:00
Pinaki Poddar 3598d38ffc OPENJPA-1851: Add URI to JEST server. Change parameter separator to &
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1028291 13f79535-47bb-0310-9956-ffa450edef68
2010-10-28 13:35:14 +00:00
Donald Woods 979384e10e fixup license header
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1028166 13f79535-47bb-0310-9956-ffa450edef68
2010-10-28 01:49:57 +00:00
Pinaki Poddar 91d1eb914b OPENJPA-1851: Few basic tests on JEST (RESTful remote access to OpenJPA runtime)
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1028146 13f79535-47bb-0310-9956-ffa450edef68
2010-10-28 00:36:36 +00:00
Fay Wang c3c97f7cf3 OPENJPA-1857: fix the exception to be thrown by OpenJPA when wrong JoinColumn annotation is specified.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1028095 13f79535-47bb-0310-9956-ffa450edef68
2010-10-27 20:55:00 +00:00
Richard G. Curtis 35b5f8fddc Remove invalid <class> from TestConv persistence.xml to reduce test logging.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1028081 13f79535-47bb-0310-9956-ffa450edef68
2010-10-27 19:53:19 +00:00
Donald Woods 9e09567ddc skip remaining 2 failing queryTimeout tests for MSSQL2005
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1028071 13f79535-47bb-0310-9956-ffa450edef68
2010-10-27 18:56:41 +00:00
Donald Woods 47d7b1d778 rollback having closeEMF() perform clear(emf) automatically
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1028052 13f79535-47bb-0310-9956-ffa450edef68
2010-10-27 17:56:15 +00:00
Richard G. Curtis 7c377a9043 OPENJPA-1856: Executing bulk updates should evict from DataCache.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1027983 13f79535-47bb-0310-9956-ffa450edef68
2010-10-27 14:47:44 +00:00
Donald Woods 582e91b867 OPENJPA-1793 @EmbeddedId class having only one field java.sql.Data. Contributed by Heath Thomann.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1027722 13f79535-47bb-0310-9956-ffa450edef68
2010-10-26 20:14:15 +00:00
Donald Woods 36d157b0ec allow tearDown() to cleanup resources
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1027698 13f79535-47bb-0310-9956-ffa450edef68
2010-10-26 19:30:39 +00:00
Donald Woods 89fbaf709f some testcase cleanup
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1027694 13f79535-47bb-0310-9956-ffa450edef68
2010-10-26 19:22:06 +00:00
Donald Woods 5538fd7bb3 testcase needs to close EMF
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1027686 13f79535-47bb-0310-9956-ffa450edef68
2010-10-26 19:08:55 +00:00
Donald Woods 1058a69afb test should call super.tearDown() for cleanup. also added @AllowFailure to surefire excluded tests.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1027682 13f79535-47bb-0310-9956-ffa450edef68
2010-10-26 18:52:34 +00:00
Donald Woods 065f0e25dc testcase needs to close EMF
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1027675 13f79535-47bb-0310-9956-ffa450edef68
2010-10-26 18:33:59 +00:00
Donald Woods d461ba7f5c use common closeEMF() in testcase
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1027674 13f79535-47bb-0310-9956-ffa450edef68
2010-10-26 18:32:37 +00:00
Donald Woods 73cbad1a16 test should call super.tearDown() for cleanup
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1027673 13f79535-47bb-0310-9956-ffa450edef68
2010-10-26 18:28:38 +00:00
Donald Woods d62d67fcd9 test should call super.tearDown() for cleanup
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1027671 13f79535-47bb-0310-9956-ffa450edef68
2010-10-26 18:27:13 +00:00
Donald Woods 226c4731c5 test should call super.tearDown() for cleanup
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1027670 13f79535-47bb-0310-9956-ffa450edef68
2010-10-26 18:25:42 +00:00
Donald Woods 8813afb4b4 tests need to cleanup EMFs
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1027663 13f79535-47bb-0310-9956-ffa450edef68
2010-10-26 17:38:16 +00:00
Donald Woods aa9f10cdc8 have test call super.tearDown() for cleanup
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1027660 13f79535-47bb-0310-9956-ffa450edef68
2010-10-26 17:26:26 +00:00
Donald Woods 53da8cce2c test cleanup
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1027639 13f79535-47bb-0310-9956-ffa450edef68
2010-10-26 16:45:15 +00:00
Donald Woods 8510080d45 test cleanup
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1027638 13f79535-47bb-0310-9956-ffa450edef68
2010-10-26 16:40:30 +00:00
Donald Woods ee682d82ab make sure tests cleanup EMs and EMFs
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1027588 13f79535-47bb-0310-9956-ffa450edef68
2010-10-26 15:09:32 +00:00
Donald Woods 8556afe921 test cleanup
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1027583 13f79535-47bb-0310-9956-ffa450edef68
2010-10-26 14:51:23 +00:00
Albert Lee 48f47fc775 This test only applies to run with Oracle. This test also is not functional; disable until fix
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1027207 13f79535-47bb-0310-9956-ffa450edef68
2010-10-25 17:55:45 +00:00
Albert Lee 206d17bfcf OPENJPA-1415 change GenerateType from IDENTITY to AUTO to fix "ORA-01400: cannot insert NULL into ("SCOTT"."ENTITYD"."ENTITYD_ID")"
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1026448 13f79535-47bb-0310-9956-ffa450edef68
2010-10-22 18:52:03 +00:00
Richard G. Curtis daac0ac086 OPENJPA-1844: Add DataCache JConsole plugin.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1026046 13f79535-47bb-0310-9956-ffa450edef68
2010-10-21 16:01:51 +00:00
Albert Lee 32e0ff48f8 OPENJPA-1849 - eliminate the unnecessary length definition since test uses default mapping from char to int and the length has no bearing to this test.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1025814 13f79535-47bb-0310-9956-ffa450edef68
2010-10-21 03:01:03 +00:00
Donald Woods de5e7cefe3 only cleanup after all tests are complete due to DB2 performance issues
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1024422 13f79535-47bb-0310-9956-ffa450edef68
2010-10-19 21:25:57 +00:00
Donald Woods 0a7e318638 only cleanup after all tests are complete due to DB2 performance issues
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1024419 13f79535-47bb-0310-9956-ffa450edef68
2010-10-19 21:25:27 +00:00
Fay Wang 75bbc90899 OPENJPA-1837: fix the MaxEmbeddedLobFieldStrategy when there is limitation of max lob size and when the field is in an embeddable which is contained in an element collection.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1024306 13f79535-47bb-0310-9956-ffa450edef68
2010-10-19 16:14:51 +00:00
Albert Lee e1a9859689 OPENJPA-1842 - replace @GeneratedValue type from IDENTITY to AUTO.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1024093 13f79535-47bb-0310-9956-ffa450edef68
2010-10-19 02:31:15 +00:00
Michael Dick 4e3f42e70e OPENJPA-1841: Allow DBDictionary to override IS NULL / IS NOT NULL clause for specific column types.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1024039 13f79535-47bb-0310-9956-ffa450edef68
2010-10-18 22:07:41 +00:00
Albert Lee a13842f7ea OPENJPA-1842 - replace @GeneratedValue by simulate entity id auto generation so that test can run for all databases.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1024034 13f79535-47bb-0310-9956-ffa450edef68
2010-10-18 22:00:53 +00:00
Michael Dick c9f56ed822 use DROP_TABLES in IndirectRecursion testcase.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1024018 13f79535-47bb-0310-9956-ffa450edef68
2010-10-18 21:40:17 +00:00
Michael Dick 578704a848 Ensure consistent order of SQL statements when populating the database in section 10_1_27 testcases.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1024016 13f79535-47bb-0310-9956-ffa450edef68
2010-10-18 21:39:26 +00:00
Donald Woods 2468de045c help testcases cleanup EMs they created but didn't close
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1024002 13f79535-47bb-0310-9956-ffa450edef68
2010-10-18 20:47:43 +00:00
Albert Lee fdf58d63ba OPENJPA-1837 - reset Oracle dictionary maxEmbedded*lobSize = -1 for jdbc driver (11.2.0.x) that can handle *lob size > 4000 characters.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1023925 13f79535-47bb-0310-9956-ffa450edef68
2010-10-18 17:48:30 +00:00
Catalina Wei 60e88f82fa OPENJPA-1828: Query with expression IN (collection_valued_input_parameter) gives wrong result when executed the second time
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1023914 13f79535-47bb-0310-9956-ffa450edef68
2010-10-18 17:30:48 +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 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
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
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 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 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 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 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 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
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
Michael Dick e0a173f17e Exclude test for Sybase and minor update to SEmfTC
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1005883 13f79535-47bb-0310-9956-ffa450edef68
2010-10-08 16:28:55 +00:00
Donald Woods 5c79f76c69 make sure tests cleanup EMs and EMFs
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1005869 13f79535-47bb-0310-9956-ffa450edef68
2010-10-08 15:54:56 +00:00
Donald Woods 274de20680 make sure tests cleanup EMs and EMFs
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1005864 13f79535-47bb-0310-9956-ffa450edef68
2010-10-08 15:44:03 +00:00
Donald Woods 11969d128d make sure tests cleanup EMs and EMFs
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1005863 13f79535-47bb-0310-9956-ffa450edef68
2010-10-08 15:39:52 +00:00
Michael Dick 098ac5a11e Prevent table name collision.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1005862 13f79535-47bb-0310-9956-ffa450edef68
2010-10-08 15:35:34 +00:00
Donald Woods 4c648a0522 make sure tests cleanup EMs and EMFs
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1005859 13f79535-47bb-0310-9956-ffa450edef68
2010-10-08 15:29:54 +00:00
Donald Woods 28f75cc187 make sure tests cleanup EMs and EMFs
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1005857 13f79535-47bb-0310-9956-ffa450edef68
2010-10-08 15:22:38 +00:00
Donald Woods fc782f2797 make sure tests cleanup EMs and EMFs
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1005856 13f79535-47bb-0310-9956-ffa450edef68
2010-10-08 15:22:14 +00:00
Donald Woods a80e26ccfc allow normal tearDown() to run to cleanup EMs and EMFs
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1005849 13f79535-47bb-0310-9956-ffa450edef68
2010-10-08 14:46:03 +00:00
Donald Woods 8ee5186f9f make sure tests cleanup EMs and EMFs
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1005846 13f79535-47bb-0310-9956-ffa450edef68
2010-10-08 14:35:05 +00:00
Donald Woods b2a38dfadf make sure tests cleanup EMs and EMFs
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1005844 13f79535-47bb-0310-9956-ffa450edef68
2010-10-08 14:23:53 +00:00
Donald Woods 6f07746a3a make sure tests cleanup EMs and EMFs
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1005841 13f79535-47bb-0310-9956-ffa450edef68
2010-10-08 14:19:52 +00:00
Donald Woods 18dba4182b make sure tests cleanup EMs and EMFs
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1005828 13f79535-47bb-0310-9956-ffa450edef68
2010-10-08 13:53:54 +00:00
Donald Woods 92b7e93bb7 still close EMF even if exceptions occur on closing EMs
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1005826 13f79535-47bb-0310-9956-ffa450edef68
2010-10-08 13:52:32 +00:00
Donald Woods 854325d119 match javadoc definition of protected
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1005823 13f79535-47bb-0310-9956-ffa450edef68
2010-10-08 13:50:12 +00:00
Richard G. Curtis 643c87437b OPENJPA-1415: Back out some of previous commit.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1005657 13f79535-47bb-0310-9956-ffa450edef68
2010-10-07 22:41:26 +00:00
Richard G. Curtis 7c6c7f2d02 OPENJPA-1415: Add test case.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1005642 13f79535-47bb-0310-9956-ffa450edef68
2010-10-07 21:26:53 +00:00
Michael Dick 8f587779d6 Excluding tests for sybase
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1005636 13f79535-47bb-0310-9956-ffa450edef68
2010-10-07 21:00:23 +00:00
Richard G. Curtis b67e3d83ac OPENJPA-1801: Add missing test Entity.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1005044 13f79535-47bb-0310-9956-ffa450edef68
2010-10-06 14:02:06 +00:00
Richard G. Curtis 54bef663e7 OPENJPA-1801: Refactor cache statistics.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1004818 13f79535-47bb-0310-9956-ffa450edef68
2010-10-05 21:12:52 +00:00
Michael Dick a67852d2c0 Set table names for attach entities in kernel.common.apps.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1004759 13f79535-47bb-0310-9956-ffa450edef68
2010-10-05 18:25:17 +00:00
Michael Dick b664ab8b94 Make column names consistent for cache tests.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1004714 13f79535-47bb-0310-9956-ffa450edef68
2010-10-05 17:02:32 +00:00
Kevin W. Sutter 93357de778 Update ExternalValue testcase to show a "common" boolean to char mapping...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1004441 13f79535-47bb-0310-9956-ffa450edef68
2010-10-04 21:34:20 +00:00
Milosz Tylenda 5a98879567 OPENJPA-1691: Support XML strings longer than 4000 bytes on Oracle.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1004043 13f79535-47bb-0310-9956-ffa450edef68
2010-10-03 20:46:38 +00:00