Jody Grassel
3892b01cfd
OPENJPA-2233: Revert patch, test failures encountered
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1388061 13f79535-47bb-0310-9956-ffa450edef68
2012-09-20 15:09:25 +00:00
Jody Grassel
b3f2395432
OPENJPA-2233: Failed to invoke pcGetIDOwningClass method on embeddable entity with ID annotation
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1387783 13f79535-47bb-0310-9956-ffa450edef68
2012-09-19 21:39:09 +00:00
Jody Grassel
f8171ddd32
OPENJPA-2149: Criteria.function adds wrong casts to parameters making it unusable
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1376089 13f79535-47bb-0310-9956-ffa450edef68
2012-08-22 15:08:16 +00:00
Heath Thomann
e11755e4b4
OPENJPA-1682: Backported to 2.0.x this JIRA and revision 941362 from OPENJPA-1387 since the two issues are related/coupled.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1372913 13f79535-47bb-0310-9956-ffa450edef68
2012-08-14 14:56:09 +00:00
Albert Lee
2243c76fe1
OPENJPA-2242 - Extends procedure call parameter String cast length if value length is greater than the default length
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1371268 13f79535-47bb-0310-9956-ffa450edef68
2012-08-09 16:01:30 +00:00
Albert Lee
6a86f998e9
OPENJPA-2199 - Guard null pc value.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1361284 13f79535-47bb-0310-9956-ffa450edef68
2012-07-13 16:22:14 +00:00
Heath Thomann
135e7c78fa
OPENJPA-2139: Reverting previous changes to 2.0.x as we've found further considerartion/design is needed.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1350014 13f79535-47bb-0310-9956-ffa450edef68
2012-06-13 20:53:51 +00:00
Dianne E. Richards
4ce857e119
OPENJPA-2207 Fix single numeric db identifier problem
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1348082 13f79535-47bb-0310-9956-ffa450edef68
2012-06-08 14:12:30 +00:00
Jody Grassel
9803f9b92d
OPENJPA-1993: Deadlock Potential with ORM XML Processing
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1344422 13f79535-47bb-0310-9956-ffa450edef68
2012-05-30 19:14:13 +00:00
Albert Lee
dc662be961
OPENJPA-2095 - JUnit 4 treats Test*.class as test case. Otherwise the following exception will be observed.
...
java.lang.IllegalArgumentException: Test class can only have one constructor
at org.junit.runners.model.TestClass.<init>(TestClass.java:32)
at org.junit.runners.ParentRunner.<init>(ParentRunner.java:54)
Rename entity classes prefix Test* to avoid the problem.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1342800 13f79535-47bb-0310-9956-ffa450edef68
2012-05-25 20:28:30 +00:00
Heath Thomann
17ccc596c7
OPENJPA-2107: Applied to 2.0.x Rick's changes from trunk (2.2.x)
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1341964 13f79535-47bb-0310-9956-ffa450edef68
2012-05-23 18:08:56 +00:00
Heath Thomann
05b525df49
OPENJPA-2139: Apply my lastest patch, which includes contributions added by Rick and Mark.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1341955 13f79535-47bb-0310-9956-ffa450edef68
2012-05-23 17:22:10 +00:00
Heath Thomann
dd45fa24a7
OPENJPA-2072: Applied Helen Xu's patch to 2.0.x
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1341947 13f79535-47bb-0310-9956-ffa450edef68
2012-05-23 16:50:45 +00:00
Heath Thomann
9ae3d06e07
OPENJPA-2118: Provide fix to avoid possible 'division by zero' error.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1341941 13f79535-47bb-0310-9956-ffa450edef68
2012-05-23 16:29:53 +00:00
Heath Thomann
ff83975992
OPENJPA-1738: Back ported Fay's changes from trunk (2.1.x).
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1341923 13f79535-47bb-0310-9956-ffa450edef68
2012-05-23 16:00:45 +00:00
Heath Thomann
d21fb8c1a4
OPENJPA-2095: Applied Helen Xu's patch to 2.0.x
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1341881 13f79535-47bb-0310-9956-ffa450edef68
2012-05-23 14:52:39 +00:00
Heath Thomann
4e9fd21084
OPENJPA-1974: Applied to 2.1.x Rick's changes from trunk (2.2.x)
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1341755 13f79535-47bb-0310-9956-ffa450edef68
2012-05-23 05:58:54 +00:00
Jody Grassel
f41f79360b
OPENJPA-1845: the prepared query cache doesn't currently work correclty with 'SELECT IN' statements
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1341547 13f79535-47bb-0310-9956-ffa450edef68
2012-05-22 16:04:14 +00:00
Albert Lee
117e13ed50
OPENJPA-2199 - If inverse relation is removed (nulled out) when commit, attempt to find the target type from initialized object in the state manager to complete the update graph for foreign key constraint detection between the relationships.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1340122 13f79535-47bb-0310-9956-ffa450edef68
2012-05-18 15:08:41 +00:00
Dianne E. Richards
23f73b2adf
OPENJPA-2175 Fix problem with multiple foreign keys of the same type
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1339669 13f79535-47bb-0310-9956-ffa450edef68
2012-05-17 15:54:10 +00:00
Jody Grassel
7b36aa53c5
OPENJPA-2042: Diagnostics for Application Managed EntityManagerFactory leaks.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1338900 13f79535-47bb-0310-9956-ffa450edef68
2012-05-15 21:20:13 +00:00
Heath Thomann
8052dfd4ee
OPENJPA-2067: Added code, gated by the new DBDictionary.useJDBC4SetBinaryStream prop, to use a JDBC 4.0 version of setBinaryStream.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1337557 13f79535-47bb-0310-9956-ffa450edef68
2012-05-12 14:54:39 +00:00
Jody Grassel
5fd2b4fe28
OPENJPA-2133: OpenJPA doesn't find custom mappings with an applicable class loader
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1334144 13f79535-47bb-0310-9956-ffa450edef68
2012-05-04 19:58:16 +00:00
Dianne E. Richards
8d8871e0f1
OPENJPA-2142 Fix merge of a new entity
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1330361 13f79535-47bb-0310-9956-ffa450edef68
2012-04-25 15:49:20 +00:00
Albert Lee
097f59645b
Add TCK 2 tck2-20110815.xml configuration and enable pluggability test.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1297100 13f79535-47bb-0310-9956-ffa450edef68
2012-03-05 15:52:06 +00:00
Heath Thomann
b3d0ade06a
OPENJPA-2117: Back-port Albert's trunk changes to 2.0.x
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1295351 13f79535-47bb-0310-9956-ffa450edef68
2012-03-01 00:16:07 +00:00
Jody Grassel
560cd151e5
OPENJPA-2146: StateManager for Embeddable may throw Exception while initializing
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1294721 13f79535-47bb-0310-9956-ffa450edef68
2012-02-28 16:33:30 +00:00
Jody Grassel
371af37117
OPENJPA-1901: QueryCacheStoreQuery CachedObjectId is not Serializable
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1240247 13f79535-47bb-0310-9956-ffa450edef68
2012-02-03 17:02:44 +00:00
Albert Lee
9b5ab6c67b
Replace hard-coded tck runtime timeout (7200000) to system property jpatck.run.tmo (default to 7200000).
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1231277 13f79535-47bb-0310-9956-ffa450edef68
2012-01-13 19:53:35 +00:00
Heath Thomann
21f7cf7de7
OPENJPA-2102: Revert previous 2.0.x changes, i.e. Reverting rev 1225657
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1227827 13f79535-47bb-0310-9956-ffa450edef68
2012-01-05 20:51:27 +00:00
Heath Thomann
35a09a7f36
OPENJPA-2102: Added code to compare decoded URLs in AbstractCFMetaDataFactory.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1225657 13f79535-47bb-0310-9956-ffa450edef68
2011-12-29 21:09:35 +00:00
Heath Thomann
fea6083a29
OPENJPA-2051: Change to ensure entities are properly cascaded after a flush.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1186888 13f79535-47bb-0310-9956-ffa450edef68
2011-10-20 16:27:30 +00:00
Heath Thomann
2dad8e53ab
OPENJPA-1376: Updated DBDictionary to remove extraneous 'if' block.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1171231 13f79535-47bb-0310-9956-ffa450edef68
2011-09-15 19:09:34 +00:00
Heath Thomann
21e2d82e2c
OPENJPA-1965: Back ported Rick's 2.1.x changes to 2.0.x
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1161363 13f79535-47bb-0310-9956-ffa450edef68
2011-08-25 02:24:15 +00:00
Michael Dick
1d2d1ff953
Add getDBDictionary() method to SingleEMFTestCase. Partial merge from revision 1005883
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1159902 13f79535-47bb-0310-9956-ffa450edef68
2011-08-20 19:02:23 +00:00
Michael Dick
05d3f3051c
use DROP_TABLES in IndirectRecursion testcase.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1159901 13f79535-47bb-0310-9956-ffa450edef68
2011-08-20 19:02:15 +00:00
Michael Dick
86df8e8e31
Update TestNamedQueryLockMode to handle DB2 lock clauses
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1159899 13f79535-47bb-0310-9956-ffa450edef68
2011-08-20 19:02:08 +00:00
Michael Dick
d7d14443ff
Exclude TestAutoIncrement if datbase does not support auto-increment
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1159898 13f79535-47bb-0310-9956-ffa450edef68
2011-08-20 19:02:01 +00:00
Michael Dick
82a6d093ab
Exclude test on SQLServer
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1158007 13f79535-47bb-0310-9956-ffa450edef68
2011-08-15 20:53:37 +00:00
Heath Thomann
a429f191e1
OPENJPA-1376: Added documentation for the new property provided via this code fix.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1155375 13f79535-47bb-0310-9956-ffa450edef68
2011-08-09 14:06:40 +00:00
Heath Thomann
1345e75631
OPENJPA-758: Added code to check the ClassResolver to get a class loader when attempting to load a ValueHandler or FieldStrategy.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1155108 13f79535-47bb-0310-9956-ffa450edef68
2011-08-08 21:20:47 +00:00
Heath Thomann
d12334e6f9
OPENJPA-1376: Backported trunk changes to 2.0.x where possible, made code gated by a system property.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1153950 13f79535-47bb-0310-9956-ffa450edef68
2011-08-04 17:41:44 +00:00
Michael Dick
75a512da70
OPENJPA-1691: Fix invalid byte problem in manual.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1148772 13f79535-47bb-0310-9956-ffa450edef68
2011-07-20 13:50:09 +00:00
Michael Dick
4f46a4f1e0
OPENJPA-1691: Fix typo in message.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1148565 13f79535-47bb-0310-9956-ffa450edef68
2011-07-19 21:49:58 +00:00
Michael Dick
97c07860d3
OPENJPA-1691: Minor rewording of message text.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1148396 13f79535-47bb-0310-9956-ffa450edef68
2011-07-19 15:28:09 +00:00
Heath Thomann
5b208e47b0
OPENJPA-1691: reverting previous (inadvertent) changes to pom.xml!!
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1144558 13f79535-47bb-0310-9956-ffa450edef68
2011-07-09 00:31:18 +00:00
Heath Thomann
ef714844d3
OPENJPA-1691: Oracle XMLType column failed to insert/update when xml contains more than 4000 characters - applied Jeremy's 2.0.x patch and in addition I added documentation.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1144556 13f79535-47bb-0310-9956-ffa450edef68
2011-07-09 00:27:17 +00:00
Heath Thomann
49f14ecdeb
OPENJPA-2006: If flushing, also pre-flush non-provisional entities to allow sequence ID population - merged Jeremy's changes from trunk.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1141193 13f79535-47bb-0310-9956-ffa450edef68
2011-06-29 18:45:09 +00:00
Heath Thomann
2ede6e480c
OPENJPA-2011: Optionally prevent reparsing annotations in query mode - merged Mike's changes from trunk
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1140902 13f79535-47bb-0310-9956-ffa450edef68
2011-06-28 23:22:20 +00:00
Heath Thomann
17f3f734eb
OPENJPA-2010: Check line number and source file before logging duplicate meta data warning - merged Mike's changes from trunk.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1140304 13f79535-47bb-0310-9956-ffa450edef68
2011-06-27 20:34:33 +00:00