Commit Graph

1485 Commits

Author SHA1 Message Date
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