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
Milosz Tylenda
ccd2dde6dc
Remove outdated comment related to metamodel.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1003828 13f79535-47bb-0310-9956-ffa450edef68
2010-10-02 16:24:50 +00:00
Donald Woods
2f996c2883
revert o-m-p usage added in r1003657
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1003675 13f79535-47bb-0310-9956-ffa450edef68
2010-10-01 22:13:41 +00:00
Donald Woods
d58eaa98ee
try using o-m-p instead of antrun to reduce memory overhead. this is a temp change, as enhancing takes 5x longer with o-m-p...
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1003657 13f79535-47bb-0310-9956-ffa450edef68
2010-10-01 21:35:50 +00:00
Donald Woods
c92c435728
minor pom updates
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1003634 13f79535-47bb-0310-9956-ffa450edef68
2010-10-01 20:24:41 +00:00
Fay Wang
a4080f46f5
OPENJPA-1819: if there is a group-by clause, orderby_item must be in the group-by list
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1003317 13f79535-47bb-0310-9956-ffa450edef68
2010-09-30 22:07:11 +00:00
Richard G. Curtis
1f64b37ec5
Misc test update.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1003292 13f79535-47bb-0310-9956-ffa450edef68
2010-09-30 21:29:00 +00:00
Donald Woods
c7a08227a3
OPENJPA-1764 Need to explicitly close dbcp.BasicDataSource instances, moved commons-dbcp test depend to parent pom and added closing of EMF in ContainerTest during test tearDown.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1002860 13f79535-47bb-0310-9956-ffa450edef68
2010-09-29 21:43:11 +00:00
Donald Woods
4aa5b43825
OPENJPA-1764 Fix bug in DBCPDriverDataSource.mergeConnectionProperties, move common surefire-plugin systemProperties to parent pom and move the connection user/password to equivalent openjpa.Connection settings
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1002745 13f79535-47bb-0310-9956-ffa450edef68
2010-09-29 17:12:49 +00:00
Richard G. Curtis
6dbe665329
Misc test cleanup.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1002630 13f79535-47bb-0310-9956-ffa450edef68
2010-09-29 13:55:57 +00:00
Catalina Wei
cde2a4aaf2
OPENJPA-1814: JPQL fails with Group By and Having aggregate_expression IN (subquery)
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1002419 13f79535-47bb-0310-9956-ffa450edef68
2010-09-28 23:36:54 +00:00
Donald Woods
ed85f020fd
OPENJPA-1764 Automatically enable connection pooling in unmanaged environments when Commons DBCP is available
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1002321 13f79535-47bb-0310-9956-ffa450edef68
2010-09-28 18:56:51 +00:00
Michael Dick
9f392edc9d
fix typo in db2 configuration property
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1000594 13f79535-47bb-0310-9956-ffa450edef68
2010-09-23 19:50:42 +00:00
Michael Dick
474c1b60c9
OPENJPA-1790: Added ProxyConcurrentMaps class (minor formatting changes from Jody's patch)
...
Submitted By: Jody Grassel
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1000292 13f79535-47bb-0310-9956-ffa450edef68
2010-09-23 02:20:07 +00:00
Donald Woods
782b86628c
add missing SolidDB profile and other connection.url examples
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@999083 13f79535-47bb-0310-9956-ffa450edef68
2010-09-20 19:33:57 +00:00
Michael Dick
e5f835fbd0
Recover from failed assertion in TestTimeoutException
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@998196 13f79535-47bb-0310-9956-ffa450edef68
2010-09-17 16:48:49 +00:00
Michael Dick
6f67c88603
convert long->string in testcase.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@997925 13f79535-47bb-0310-9956-ffa450edef68
2010-09-16 21:01:03 +00:00
Michael Dick
f943cc83b2
reverting 997888 - committed wrong testcase
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@997894 13f79535-47bb-0310-9956-ffa450edef68
2010-09-16 19:47:47 +00:00
Michael Dick
b877e90db8
convert long->string in java - database might not support implicit conversion
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@997888 13f79535-47bb-0310-9956-ffa450edef68
2010-09-16 19:27:53 +00:00
Michael Dick
dd36c1d629
add profile for testing sybase with jConnect
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@997041 13f79535-47bb-0310-9956-ffa450edef68
2010-09-14 19:01:18 +00:00
Michael Dick
9ec516a346
OPENJPA-1782: setting eol-style
...
MM TestDoubleQuotedStringLiteralInJPQL.java
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@995469 13f79535-47bb-0310-9956-ffa450edef68
2010-09-09 15:41:03 +00:00
Donald Woods
00b99e267f
OPENJPA-1784 add missing license headers
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@995437 13f79535-47bb-0310-9956-ffa450edef68
2010-09-09 14:09:12 +00:00
Fay Wang
9c25bd1633
OPENJPA-1784: improve dirty-checking for persistent maps when the get method is called to retrieve an embeddable value.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@995333 13f79535-47bb-0310-9956-ffa450edef68
2010-09-09 06:47:46 +00:00
Catalina Wei
f5dbf21ca5
OPENJPA-1782: Accept double quoted string literal in JPQL
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@993601 13f79535-47bb-0310-9956-ffa450edef68
2010-09-08 04:54:47 +00:00
Michael Dick
4628962d2a
OPENJPA-1372: Add testcases - no mainline code changes.
...
Submitted By: Pinaki Poddar and Milosz Tylenda
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@993552 13f79535-47bb-0310-9956-ffa450edef68
2010-09-07 22:47:13 +00:00
Michael Dick
99332850e3
OPENJPA-1736: Setting svn:eol-style native
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@988223 13f79535-47bb-0310-9956-ffa450edef68
2010-08-23 17:32:55 +00:00
Michael Dick
acef04f0f6
OPENJPA-526: setting svn eol-stle on new file
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@988221 13f79535-47bb-0310-9956-ffa450edef68
2010-08-23 17:31:42 +00:00
Michael Dick
b3c9553f59
OPENJPA-526: setting svn eol-stle on new file
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@988220 13f79535-47bb-0310-9956-ffa450edef68
2010-08-23 17:30:58 +00:00
Catalina Wei
93c0bbea8f
OPENJPA-1736: Mappings with foreign keys as identity fields sometimes not resolved correctly
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@987772 13f79535-47bb-0310-9956-ffa450edef68
2010-08-21 15:46:34 +00:00
Catalina Wei
c000f0bf62
OPENJPA-526: Insert text more than 4K bytes to Clob column causes SQLException: Exhausted Resultset
...
fix table name in Lobs entity to avoid conflict with other entities in JUnit regression.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@987644 13f79535-47bb-0310-9956-ffa450edef68
2010-08-20 21:47:42 +00:00
Catalina Wei
833520766f
OPENJPA-526: Insert text more than 4K bytes to Clob column causes SQLException: Exhausted Resultset
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@987598 13f79535-47bb-0310-9956-ffa450edef68
2010-08-20 18:32:21 +00:00
Fay Wang
729d6751c9
OPENJPA-735: temporarily disable TestTimeoutException for SolidDB as it seems cause SolidDB to crash
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@987356 13f79535-47bb-0310-9956-ffa450edef68
2010-08-20 00:11:56 +00:00
Richard G. Curtis
3b20d750e7
OPENJPA-1770: Fix fetching an Entity with a null embeddable from the DataCache.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@987321 13f79535-47bb-0310-9956-ffa450edef68
2010-08-19 21:38:25 +00:00
Donald Woods
560afb7df4
OPENJPA-1712 Merge in build updates from 2.0.x branch
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@987238 13f79535-47bb-0310-9956-ffa450edef68
2010-08-19 17:31:55 +00:00
Fay Wang
cb4ac9b891
OPENJPA-735: OpenJPA support for SolidDB
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@987204 13f79535-47bb-0310-9956-ffa450edef68
2010-08-19 15:58:05 +00:00
Fay Wang
07d599a02d
OPENJPA-735: OpenJPA support for SolidDB
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@987013 13f79535-47bb-0310-9956-ffa450edef68
2010-08-19 04:19:39 +00:00
Richard G. Curtis
63a24dc7bb
OPENJPA-1769: Fix Broker.getObjectId(..) to work on detached Entities with no DetachedStateManager.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@986963 13f79535-47bb-0310-9956-ffa450edef68
2010-08-18 21:52:59 +00:00
Richard G. Curtis
5a8030a802
OPENJPA-1469: Update test.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@986962 13f79535-47bb-0310-9956-ffa450edef68
2010-08-18 21:51:40 +00:00
Richard G. Curtis
f31d31ff9e
OPENJPA-1469: Miscellaneous test updates.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@986124 13f79535-47bb-0310-9956-ffa450edef68
2010-08-16 20:21:05 +00:00
Michael Dick
7e50c0bf6d
OPENJPA-1424: adding testcase.
...
Submitted By: Heath Thomann, Daryl Stultz.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@984967 13f79535-47bb-0310-9956-ffa450edef68
2010-08-12 20:53:58 +00:00
Richard G. Curtis
319ba41483
OPENJPA-1765: Add locking to TableJDBCSeq to ensure thread safety.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@984943 13f79535-47bb-0310-9956-ffa450edef68
2010-08-12 20:15:41 +00:00
Richard G. Curtis
0876c93ff6
OPENJPA-1763: Auto configure RemoteCommitProvider if it isn't set when the DataCache is enabled.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@984601 13f79535-47bb-0310-9956-ffa450edef68
2010-08-11 22:00:25 +00:00
Michael Dick
0f0c6de652
Get lock clause from DBDictionary in locking tests
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@983762 13f79535-47bb-0310-9956-ffa450edef68
2010-08-09 18:22:24 +00:00
Donald Woods
bcfadcff1b
OPENJPA-1712 Fix creation of test artifacts, so they get signed during -Papache-release deploys to nexus repo
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@983040 13f79535-47bb-0310-9956-ffa450edef68
2010-08-06 16:22:21 +00:00
Jeremy Bauer
536e3a284b
OPENJPA-1739 Fixed minor bug and added more test variations.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@982342 13f79535-47bb-0310-9956-ffa450edef68
2010-08-04 17:33:13 +00:00
Jeremy Bauer
733adeb47b
OPENJPA-1739 Rev 1 of pluggable instrumentation for OpenJPA. Includes an test provider and portions of a JMX platform MBean based provider.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@981719 13f79535-47bb-0310-9956-ffa450edef68
2010-08-03 01:55:02 +00:00
Richard G. Curtis
e65737308b
OPENJPA-1757: Check CacheRetrieveMode in DataCacheStoreManager when synchronizing version.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@981664 13f79535-47bb-0310-9956-ffa450edef68
2010-08-02 19:31:45 +00:00
Richard G. Curtis
4dcca87500
OPENJPA-1727: Fix QueryCache eviction when returning an empty result and using the TIMESTAMP eviction policy.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@980963 13f79535-47bb-0310-9956-ffa450edef68
2010-07-30 21:02:04 +00:00
Michael Dick
e97e42b3eb
OPENJPA-1749: Throw exception when incompatible configuration options are set
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@980070 13f79535-47bb-0310-9956-ffa450edef68
2010-07-28 14:30:05 +00:00
Fay Wang
ac42e2d8eb
OPENJPA-1726: Postgres does not support queryTimeout. Exclude this test case from running on Postgres.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@979839 13f79535-47bb-0310-9956-ffa450edef68
2010-07-27 20:13:55 +00:00
Michael Dick
b6103d270a
Fix timing window with TestTimestampVerson and MySQL
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@979761 13f79535-47bb-0310-9956-ffa450edef68
2010-07-27 16:04:55 +00:00
Catalina Wei
a4038dadef
OPENJPA-1719: Prepared SQL cache user parameter ordering problem with subqueries.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@979326 13f79535-47bb-0310-9956-ffa450edef68
2010-07-26 15:30:20 +00:00
Fay Wang
44a7674d6e
OPENJPA-1740: fix Type expression when entities use Joined table strategy.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@967240 13f79535-47bb-0310-9956-ffa450edef68
2010-07-23 20:15:06 +00:00
Michael Dick
4c92537fb5
OPENJPA-1738: setting eol-style native
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@967205 13f79535-47bb-0310-9956-ffa450edef68
2010-07-23 19:06:25 +00:00
Catalina Wei
6d8b5782c9
OPENJPA-1738: Prepared query does not handle collection-valued parameter of persistence-capable objects
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@966870 13f79535-47bb-0310-9956-ffa450edef68
2010-07-22 21:54:40 +00:00
Michael Dick
ebd30a7cc7
OPENJPA-1742: move cfName logic to JDBCConfiguration, add tests for nonJTADataSource
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@966600 13f79535-47bb-0310-9956-ffa450edef68
2010-07-22 11:57:45 +00:00
Fay Wang
3b3d01cb6a
OPENJPA-1726: force table to be recreated with correct TIMESTAMP column type.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@966442 13f79535-47bb-0310-9956-ffa450edef68
2010-07-21 22:22:30 +00:00
Fay Wang
9166a7753a
OPENJPA-1726: exclude Postgres from the test case due to the problem of storing the randomly generated UUID String to the UTF-8 database.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@965899 13f79535-47bb-0310-9956-ffa450edef68
2010-07-20 16:43:30 +00:00
Donald Woods
0a8c27709d
OPENJPA-1726 Add DBCP overrides for PostgreSQL
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@965838 13f79535-47bb-0310-9956-ffa450edef68
2010-07-20 13:24:51 +00:00
Fay Wang
1916e1bd86
OPENJPA-1726: fix test case problem for Postgres. Postgres returns nextval depending on whether the two consecutive calls to nextval are in the same session or not. If they are in different sessions, the nextval returned by Postgres will be the next sequence number preallocated and stored in memory for the current session. The second nextval is not necessarily the first nextval + increment.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@965663 13f79535-47bb-0310-9956-ffa450edef68
2010-07-19 22:31:41 +00:00
Fay Wang
6820830299
OPENJPA-1726: fix test case errors for Postgres
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@964966 13f79535-47bb-0310-9956-ffa450edef68
2010-07-16 22:37:52 +00:00
Dianne E. Richards
aec144cdfa
OPENJPA-1722 Test case for DistinctResultList serialization fix
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@964865 13f79535-47bb-0310-9956-ffa450edef68
2010-07-16 17:29:08 +00:00
Dianne E. Richards
720b8f7e71
OPENJPA-1554 Support boolean as an id (required by spec)
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@964480 13f79535-47bb-0310-9956-ffa450edef68
2010-07-15 16:26:27 +00:00
Richard G. Curtis
d899ba8107
OPENJPA-1626: Add Name property to AbstractQueryCache, contributed by Amy Yang.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@964170 13f79535-47bb-0310-9956-ffa450edef68
2010-07-14 20:15:41 +00:00
Richard G. Curtis
124d3ca7b5
OPENJPA-1378: Expose Lru cache on DataCache and QueryCache.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@964097 13f79535-47bb-0310-9956-ffa450edef68
2010-07-14 17:01:51 +00:00
Michael Dick
f03b417d41
OPENJPA-1702: Allow new entities to be dirtied in BeforeCommit callback even if there are no other dirty entities. Based on patch submitted by Heath Thomann
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@963499 13f79535-47bb-0310-9956-ffa450edef68
2010-07-12 21:39:55 +00:00
Catalina Wei
5ad6624b53
OPENJPA-1719: Prepared SQL cache user parameter ordering problem with subqueries.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@963139 13f79535-47bb-0310-9956-ffa450edef68
2010-07-11 19:51:31 +00:00
Catalina Wei
fc63143dfe
OPENJPA-1715: OpenJPA generates wrong SQL for Oracle if a result variable that references an aggregate expression is used in ORDER BY clause
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@962708 13f79535-47bb-0310-9956-ffa450edef68
2010-07-09 22:03:35 +00:00
Richard G. Curtis
961e957be0
OPENJPA-1692: Comment out failing case in TestClearableScheduler while this change is backed out.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@961510 13f79535-47bb-0310-9956-ffa450edef68
2010-07-07 21:21:39 +00:00
Catalina Wei
90a54ac7e7
OPENJPA-1715: OpenJPA generates wrong SQL if a result variable that references an aggregate expression is used in ORDER BY clause
...
fix testcase.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@961472 13f79535-47bb-0310-9956-ffa450edef68
2010-07-07 18:37:29 +00:00
Catalina Wei
ee83defe59
OPENJPA-1715: OpenJPA generates wrong SQL if a result variable that references an aggregate expression is used in ORDER BY clause
...
add testcase.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@961449 13f79535-47bb-0310-9956-ffa450edef68
2010-07-07 18:10:25 +00:00
Richard G. Curtis
020b24e008
Update TestAutoIncrement to not run on Oracle and SQLServer.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@961000 13f79535-47bb-0310-9956-ffa450edef68
2010-07-06 20:03:25 +00:00
Michael Dick
5668a18ec0
OPENJPA-1501: trim trailing whitespace for entities with String IDs
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@960983 13f79535-47bb-0310-9956-ffa450edef68
2010-07-06 19:06:14 +00:00
Richard G. Curtis
2400bacd05
OPENJPA-1707: Log a warning message when a down level Entity is encountered.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@960981 13f79535-47bb-0310-9956-ffa450edef68
2010-07-06 18:53:59 +00:00
Richard G. Curtis
20f2966ea1
Update TestClearableScheduler to use a Vector for multithreaded test rather than an ArrayList
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@957938 13f79535-47bb-0310-9956-ffa450edef68
2010-06-25 13:32:06 +00:00
Jeremy Bauer
e372349aeb
OPENJPA-1689 Provide better determination of PostgreSQL db owned sequences
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@957715 13f79535-47bb-0310-9956-ffa450edef68
2010-06-24 21:06:47 +00:00
Richard G. Curtis
a7c61414ca
OPENJPA-1704: Fix PCEnhancer to generate proper readExternal method.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@956875 13f79535-47bb-0310-9956-ffa450edef68
2010-06-22 13:08:35 +00:00
Catalina Wei
3f79c25dfc
OPENJPA-1697: A EnumValueHandler strategy along with XmlType annotation incorrectly mapped to XmlType in create table DDL
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@955806 13f79535-47bb-0310-9956-ffa450edef68
2010-06-18 00:47:25 +00:00
Catalina Wei
eac9c66b74
OPENJPA-1697: A EnumValueHandler strategy along with XmlType annotation incorrectly mapped to XmlType in create table DDL
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@955805 13f79535-47bb-0310-9956-ffa450edef68
2010-06-18 00:41:16 +00:00
Catalina Wei
dbaf9fa67e
OPENJPA-1686: Define generic persistent graph and relation. Implement graph as a set of edges.
...
Fix compile errors
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@955581 13f79535-47bb-0310-9956-ffa450edef68
2010-06-17 13:07:21 +00:00
Catalina Wei
832b5048bd
OPENJPA-1697: A EnumValueHandler strategy along with XmlType annotation incorrectly mapped to XmlType in create table DDL
...
backout changes - regression in xmlcolumn mappings
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@955474 13f79535-47bb-0310-9956-ffa450edef68
2010-06-17 04:06:56 +00:00
Pinaki Poddar
a79a96b86c
OPENJPA-1686: Define generic persistent graph and relation. Implement graph as a set of edges.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@955425 13f79535-47bb-0310-9956-ffa450edef68
2010-06-16 23:22:31 +00:00
Fay Wang
7450df02a4
OPENJPA-1699: Streaming LOB support for DB2
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@955283 13f79535-47bb-0310-9956-ffa450edef68
2010-06-16 16:07:14 +00:00
Ravi Prakash Palacherla
efa71484df
OPENJPA-1695 OutOfMemoryError from CacheMarshallerImpl.setInputUrlFromResourceLocation
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@954979 13f79535-47bb-0310-9956-ffa450edef68
2010-06-15 17:47:02 +00:00
Richard G. Curtis
703bd8db8a
OPENJPA-1692: Revert some of previous commit.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@954898 13f79535-47bb-0310-9956-ffa450edef68
2010-06-15 14:10:46 +00:00
Richard G. Curtis
14cfcaa3cc
OPENJPA-1692: Clean up extra initialization from PersistenceProviderImpl.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@954891 13f79535-47bb-0310-9956-ffa450edef68
2010-06-15 14:04:26 +00:00
Richard G. Curtis
15d2f36ab0
OPENJPA-1692: Rename TestBrokerFactory.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@954532 13f79535-47bb-0310-9956-ffa450edef68
2010-06-14 16:06:31 +00:00
Catalina Wei
d781b913d1
OPENJPA-1697: A EnumValueHandler strategy along with XmlType annotation incorrectly mapped to XmlType in create table DDL
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@954345 13f79535-47bb-0310-9956-ffa450edef68
2010-06-14 01:47:08 +00:00
Catalina Wei
493bfe0e14
OPENJPA-1696: Type discriminator for polymorphic queries limited to Single Table inheritance
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@954007 13f79535-47bb-0310-9956-ffa450edef68
2010-06-12 14:05:43 +00:00
Richard G. Curtis
ea8dc8b630
OPENJPA-1692: Add post creation callback to BrokerFactory
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@953760 13f79535-47bb-0310-9956-ffa450edef68
2010-06-11 16:37:30 +00:00
Michael Dick
6b38f0cb8e
OPENJPA-1678: delete tests which write to log files
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@953182 13f79535-47bb-0310-9956-ffa450edef68
2010-06-09 23:04:48 +00:00
Michael Dick
323ebee840
OPENJPA-1678: add printParameters property to prevent SQL parameter values from being logged in exceptions or trace
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@953169 13f79535-47bb-0310-9956-ffa450edef68
2010-06-09 21:48:44 +00:00
Pinaki Poddar
a873065db7
OPENJPA-1686: A first draft of support for generic graph. Correct mapping strategy on MappedSuperClass (they are not Embeddables)
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@952893 13f79535-47bb-0310-9956-ffa450edef68
2010-06-09 02:43:46 +00:00
Pinaki Poddar
fafc33b3cd
OPENJPA-1682: Unique constraint to a column will imply the column to be non-nullable per database basis. The commit adds a new model in
...
internal schema design by making Column-Constraint relation bi-directional.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@952371 13f79535-47bb-0310-9956-ffa450edef68
2010-06-07 19:08:49 +00:00
Richard G. Curtis
97232e67b4
OPENJPA-1612: Reverting change 942871 to restore previous behaviour.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@952244 13f79535-47bb-0310-9956-ffa450edef68
2010-06-07 14:28:33 +00:00
Donald Woods
f0517dd09c
add missing ASL 2.0 header
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@951487 13f79535-47bb-0310-9956-ffa450edef68
2010-06-04 16:47:10 +00:00
Milosz Tylenda
18dd7e8542
OPENJPA-1667: Fix incorrect column type for LOB streaming in MySQL.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@947144 13f79535-47bb-0310-9956-ffa450edef68
2010-05-21 19:49:58 +00:00
Richard G. Curtis
1c01e8da2a
OPENJPA-1670: PCRegistry should not save duplicate listeners.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@946332 13f79535-47bb-0310-9956-ffa450edef68
2010-05-19 18:39:56 +00:00
Richard G. Curtis
93d76e21d3
Remove extraneous import from org.apache.openjpa.persistence.nullity.TestBasicFieldNullity
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@945243 13f79535-47bb-0310-9956-ffa450edef68
2010-05-17 17:15:14 +00:00
Richard G. Curtis
1cef932cc4
OPENJPA-1563: Fix StackOverlfowError in JPAFacadeHelper.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@945171 13f79535-47bb-0310-9956-ffa450edef68
2010-05-17 14:09:03 +00:00
Richard G. Curtis
5903f31e69
OPENJPA-1665: Update BrokerImpl to skip check for duplicate ids when they are auto generated.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@943638 13f79535-47bb-0310-9956-ffa450edef68
2010-05-12 19:11:14 +00:00
Richard G. Curtis
2765b756bc
OPENJPA-1612: Check for having a relationship to a type that is mapped to a blob field.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@942871 13f79535-47bb-0310-9956-ffa450edef68
2010-05-10 19:46:21 +00:00
Pinaki Poddar
7bd2b4ae49
OPENJPA-1387: Unique should not impose non-null constraint automatically.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@941362 13f79535-47bb-0310-9956-ffa450edef68
2010-05-05 16:17:31 +00:00
Michael Dick
ed2940d547
OPENJPA-1536: set svn:eol-style
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@940555 13f79535-47bb-0310-9956-ffa450edef68
2010-05-03 18:21:14 +00:00
Michael Dick
0b73d9f1a9
OPENJPA-1570: set eol-style
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@940554 13f79535-47bb-0310-9956-ffa450edef68
2010-05-03 18:18:55 +00:00
Richard G. Curtis
78614963a0
OPENJPA-1634: Process JAXB metadata when preloading the MetaDataRepository.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@940093 13f79535-47bb-0310-9956-ffa450edef68
2010-05-01 19:00:23 +00:00
Richard G. Curtis
62bed3cf3d
OPENJPA-1563: Fix testcase.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@940090 13f79535-47bb-0310-9956-ffa450edef68
2010-05-01 18:02:34 +00:00
Richard G. Curtis
00799c73f0
OPENJPA-1563: Update JPAFacadeHelper.toOpenJPAObjectId(...) to perform validation on parameters.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@940077 13f79535-47bb-0310-9956-ffa450edef68
2010-05-01 16:53:56 +00:00
Jeremy Bauer
7425ffca2d
OPENJPA-1613 Per JPA spec, OpenJPA should take the @Transient annotation into account when making a default access determination. This commit includes test code contributed by Simon Droscher.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@936930 13f79535-47bb-0310-9956-ffa450edef68
2010-04-22 16:12:50 +00:00
Pinaki Poddar
4502c30b16
OPENJPA-703: Add a test for thread-safety of cache statistics
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@935074 13f79535-47bb-0310-9956-ffa450edef68
2010-04-16 20:37:39 +00:00
Pinaki Poddar
53e63d202f
OPENJPA-703: Disable query statistics by default.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@935073 13f79535-47bb-0310-9956-ffa450edef68
2010-04-16 20:35:42 +00:00
Fay Wang
8a034d6717
OPENJPA-1627: fix OrderBy with EmbeddedId.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@934101 13f79535-47bb-0310-9956-ffa450edef68
2010-04-14 18:37:30 +00:00
Donald Woods
7188baa2c0
OPENJPA-1179 openjpa.jdbc.QuerySQLCache plugin no longer accepts value=all, so doc it in the Migration section. Testcase contributed by Tim McConnell.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@932929 13f79535-47bb-0310-9956-ffa450edef68
2010-04-11 16:21:01 +00:00
Donald Woods
26d306c232
OPENJPA-1624 Fix intermittent datacache timeout failures in TestSJVMCache and CacheTest
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@932530 13f79535-47bb-0310-9956-ffa450edef68
2010-04-09 17:47:32 +00:00
Dianne E. Richards
aefe784c94
OPENJPA-1623 Add tests for qualified paths in JPQL
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@932487 13f79535-47bb-0310-9956-ffa450edef68
2010-04-09 16:18:41 +00:00
Donald Woods
e247f78922
OPENJPA-1621 Fix TestGeneratedValues for DB2
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@932212 13f79535-47bb-0310-9956-ffa450edef68
2010-04-09 02:04:53 +00:00
Donald Woods
9fd0cadd87
OPENJPA-1616 remove commented out code
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@932196 13f79535-47bb-0310-9956-ffa450edef68
2010-04-09 00:35:54 +00:00
Donald Woods
f102795700
OPENJPA-1620 Fix TestJDBCEscapeDate test for HSQLDB
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@932191 13f79535-47bb-0310-9956-ffa450edef68
2010-04-09 00:29:38 +00:00
Donald Woods
20a07726f9
OPENJPA-1616 Fix TestTimeoutException tests for Oracle and re-enable for DB2
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@932139 13f79535-47bb-0310-9956-ffa450edef68
2010-04-08 21:54:21 +00:00
Donald Woods
c924de842e
OPENJPA-1620 Fix TestJDBCEscapeDate test for MSSQL
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@932107 13f79535-47bb-0310-9956-ffa450edef68
2010-04-08 20:47:54 +00:00
Donald Woods
dbb66f4d94
OPENJPA-1616 Exclude TestTimeoutException tests on HSQLDB as it uses supportsSelectForUpdate=false
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@932082 13f79535-47bb-0310-9956-ffa450edef68
2010-04-08 19:55:08 +00:00
Donald Woods
1c76ad58a8
OPENJPA-1619 Fix intermittent TestTimestampVersion failures on various DBs when running on Windows
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@932043 13f79535-47bb-0310-9956-ffa450edef68
2010-04-08 18:13:38 +00:00
Donald Woods
5e62924fce
OPENJPA-1616 Fix TestTimeoutException test failures on MSSQL
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@931693 13f79535-47bb-0310-9956-ffa450edef68
2010-04-07 21:22:52 +00:00
Donald Woods
684ae10b1d
OPENJPA-1615 Disable the 3 failing tests when run against MSSQL for now
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@931648 13f79535-47bb-0310-9956-ffa450edef68
2010-04-07 19:24:53 +00:00
Donald Woods
b2b922e1c8
OPENJPA-1614 Testcase failures in TextException on MSSQL due to missing <object-exists> value in sql-error-state-codes.xml
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@931535 13f79535-47bb-0310-9956-ffa450edef68
2010-04-07 13:31:43 +00:00
Donald Woods
50202d956b
OPENJPA-1550 Fix TestBatchLimitException tests for Oracle, which fails all statements in the batch, instead of just the duplicate entity.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@931354 13f79535-47bb-0310-9956-ffa450edef68
2010-04-06 22:11:42 +00:00
Fay Wang
670d59ef0f
OPENJPA-1611: fix EMBEDDED attr type
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@930721 13f79535-47bb-0310-9956-ffa450edef68
2010-04-04 17:28:52 +00:00
Dianne E. Richards
123dd7b51b
OPENJPA-1606 Add JPQL tests for element collection
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@929620 13f79535-47bb-0310-9956-ffa450edef68
2010-03-31 17:01:27 +00:00
Michael Dick
8579593f88
OPENJPA-1603:
...
Decouple the QueryCache from the DataCache. Code contributed by Mike Dick and Rick Curtis.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@929266 13f79535-47bb-0310-9956-ffa450edef68
2010-03-30 20:42:29 +00:00
Donald Woods
3df86b0e95
OPENJPA-1597 Revert code added to DetachManager to unproxy objects when detached in-place. Updated tests to verify old behavior of detached entites still having references, but that they are removed during serialization.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@928251 13f79535-47bb-0310-9956-ffa450edef68
2010-03-27 19:33:52 +00:00
Donald Woods
cb0ca8f009
OPENJPA-1597 Rollback MSSQL reserved word, but update Rider test entity failure on MSSQL
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@928241 13f79535-47bb-0310-9956-ffa450edef68
2010-03-27 17:56:32 +00:00
Donald Woods
9a75bfe59d
OPENJPA-1597 make another entity table name unique
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@928209 13f79535-47bb-0310-9956-ffa450edef68
2010-03-27 14:50:41 +00:00
Donald Woods
c0ad7b61a7
OPENJPA-1597 Add openjpa.Compatibility option IgnoreDetachedStateFieldForProxySerialization which 2.0 apps can set to true to fall back to 1.0 behavior and defaults 1.0 apps to old behavior of not removing classes after EM.clear() is called.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@928128 13f79535-47bb-0310-9956-ffa450edef68
2010-03-27 03:12:07 +00:00
Donald Woods
5835eb3b6e
OPENJPA-1597 Make entity table names unique
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@927506 13f79535-47bb-0310-9956-ffa450edef68
2010-03-25 17:16:13 +00:00
Albert Lee
048ffd924d
OPENJPA-1599 - Push Cache*Mode value(s) in fetch configuration set from property making the property value(s) only valid during the em method call.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@927441 13f79535-47bb-0310-9956-ffa450edef68
2010-03-25 15:08:55 +00:00
Donald Woods
e88899d3a1
OPENJPA-1597 New tests to verify expected behavior for proposed Compatibility fix.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@927427 13f79535-47bb-0310-9956-ffa450edef68
2010-03-25 14:43:41 +00:00
Michael Dick
666ec6c6de
OPENJPA-1550:
...
Set failedObject on RollbackException.
Submitted By: Heath Thomann
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@927267 13f79535-47bb-0310-9956-ffa450edef68
2010-03-25 03:55:43 +00:00
Fay Wang
e6ba2e9ed9
OPENJPA-1580: fix test case problem
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@926816 13f79535-47bb-0310-9956-ffa450edef68
2010-03-23 22:28:29 +00:00
Donald Woods
b5b65a7d4b
[maven-release-plugin] prepare release 2.0.x
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@926437 13f79535-47bb-0310-9956-ffa450edef68
2010-03-23 02:27:40 +00:00
Donald Woods
676a2f74f6
[maven-release-plugin] prepare branch 2.0.x
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@926434 13f79535-47bb-0310-9956-ffa450edef68
2010-03-23 02:27:29 +00:00
Richard G. Curtis
1c0abb5207
OPENJPA-1591: Refactor/rename DataCacheScheduler to allow for greater extensibility.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@926249 13f79535-47bb-0310-9956-ffa450edef68
2010-03-22 18:29:15 +00:00
Albert Lee
201d680a0d
OPENJPA-1586 - Commit test case contribution by Dianne Richards.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@926181 13f79535-47bb-0310-9956-ffa450edef68
2010-03-22 16:52:39 +00:00
Albert Lee
e6fc6fab0a
OPENJPA-1583 - fix intermittent failures in timestamp version assertion.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@925438 13f79535-47bb-0310-9956-ffa450edef68
2010-03-19 21:31:17 +00:00
Pinaki Poddar
9f326c0f8b
Correct expected value for paging query and disable (temporariliy) subquery + constant literals case
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@925335 13f79535-47bb-0310-9956-ffa450edef68
2010-03-19 17:08:13 +00:00
Fay Wang
13e3c48cae
OPENJPA-1580: disable query cache when pagination is involved.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@925048 13f79535-47bb-0310-9956-ffa450edef68
2010-03-18 23:52:33 +00:00
Pinaki Poddar
15c64cb8f4
OPENJPA-1584: Reparameterization when main and subquery using share query parameters in same or different declaration order
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@925036 13f79535-47bb-0310-9956-ffa450edef68
2010-03-18 23:01:30 +00:00
Jeremy Bauer
c864f5dfc0
OPENJPA-1583 Fix table name collision caused by having multiple TimestampedEntity entities.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@925009 13f79535-47bb-0310-9956-ffa450edef68
2010-03-18 21:39:29 +00:00
Pinaki Poddar
8c1175054f
OPENJPA-1583: Timestamp version field in bulk update
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@924938 13f79535-47bb-0310-9956-ffa450edef68
2010-03-18 18:32:19 +00:00
Michael Dick
bd9b59c90f
OPENJPA-1581:
...
make assertOpen public and call assertOpen before returning JPA cache
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@924868 13f79535-47bb-0310-9956-ffa450edef68
2010-03-18 15:44:25 +00:00
Pinaki Poddar
081baaa856
Disable timeout tests on Oracle and DB2 till we know the reason
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@924867 13f79535-47bb-0310-9956-ffa450edef68
2010-03-18 15:42:54 +00:00
Pinaki Poddar
1b20902b50
OPENJPA-1565,OPENJPA-1578:
...
Modify tests to raise correct lock/query exception
Fill in details in exception
Use retreive mode while initializing not store mode
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@924626 13f79535-47bb-0310-9956-ffa450edef68
2010-03-18 03:42:50 +00:00
Jeremy Bauer
65385662b0
OPENJPA-1579 Committing test code for Dianne Richards.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@924391 13f79535-47bb-0310-9956-ffa450edef68
2010-03-17 17:57:18 +00:00
Fay Wang
41ce320cc0
OPENJPA-1577: disable query cache when user-defined field strategy is used.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@924055 13f79535-47bb-0310-9956-ffa450edef68
2010-03-16 23:41:36 +00:00
Donald Woods
4bff5d71e8
OPENJPA-1097 Merge in test updates from 1.2.x
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@924005 13f79535-47bb-0310-9956-ffa450edef68
2010-03-16 21:50:15 +00:00
Donald Woods
e56be85085
OPENJPA-1097 Remove duplicate code in DetachManager and cleanup comments/traces in tests
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@923958 13f79535-47bb-0310-9956-ffa450edef68
2010-03-16 20:08:28 +00:00
Michael Dick
c618b4692d
OPENJPA-1557:
...
Use openjpa.Log to control build logging instead of openjpa.loglevel
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@923929 13f79535-47bb-0310-9956-ffa450edef68
2010-03-16 18:44:11 +00:00