Commit Graph

3431 Commits

Author SHA1 Message Date
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
Michael Dick a834c13739 Remove try/catch that hides exception text in TestM2MInDataCache
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1140220 13f79535-47bb-0310-9956-ffa450edef68
2011-06-27 16:02:13 +00:00
Jody Grassel f2fe03c865 OPENJPA-1996: OpenJPA Samples fail on MacOS X
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1101986 13f79535-47bb-0310-9956-ffa450edef68
2011-05-11 17:20:47 +00:00
Heath Thomann c20c89ab53 Update BrokerImpl to skip check for duplicate ids when they are auto generated - merged Rick's changes from trunk
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1084264 13f79535-47bb-0310-9956-ffa450edef68
2011-03-22 17:39:41 +00:00
Michael Dick 9b8b19f4e1 OPENJPA-1957: treat non element collection like normal serializable types
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1080019 13f79535-47bb-0310-9956-ffa450edef68
2011-03-09 21:59:10 +00:00
Michael Dick 1f99ffb6c9 increase timeout for tck
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1077974 13f79535-47bb-0310-9956-ffa450edef68
2011-03-04 14:44:34 +00:00
Heath Thomann 983b7689df OPENJPA-1911: committing previous version of pom.xml, mistakenly committed local changes to pom.xml.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1069928 13f79535-47bb-0310-9956-ffa450edef68
2011-02-11 19:35:25 +00:00
Heath Thomann 2269ea2fab OPENJPA-1911: fix merge problem for entities with derived id - merged this code from Fay's changes for trunk
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1069924 13f79535-47bb-0310-9956-ffa450edef68
2011-02-11 19:23:29 +00:00
Michael Dick e525deca26 restore missing message
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1068004 13f79535-47bb-0310-9956-ffa450edef68
2011-02-07 16:31:40 +00:00
Jody Grassel 039abeba79 OPENJPA-1905: Validate jar-file pu element after confirming OpenJPA is chosen provider
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1063439 13f79535-47bb-0310-9956-ffa450edef68
2011-01-25 20:21:29 +00:00
Michael Dick a56b9b26eb OPENJPA-1699: Add documentation for fully materialized LOB issue with streaming LOBs and DB2
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1058758 13f79535-47bb-0310-9956-ffa450edef68
2011-01-13 22:00:14 +00:00
Donald Woods 26d55bebb5 OPENJPA-1786 Upgrade to latest JPA 2.0 TCK (05-Dec-2010)
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1049110 13f79535-47bb-0310-9956-ffa450edef68
2010-12-14 14:32:29 +00:00
Jody Grassel d46f649e32 OPENJPA-1890: Fix NPE when an embeddable is set to a managed entity more then once, merged from Fay's changes for trunk
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1043597 13f79535-47bb-0310-9956-ffa450edef68
2010-12-08 18:49:17 +00:00
Michael Dick 35740819fe OPENJPA-1790: Added Proxy for concurrent maps.
Submitted By: Heath Thomann, ported from Jody's patch for trunk

git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1034584 13f79535-47bb-0310-9956-ffa450edef68
2010-11-12 22:10:12 +00:00
Michael Dick 9e389d2d28 OPENJPA-1790: Added Proxy for concurrent maps.
Submitted By: Heath Thomann, ported from Jody's patch for trunk

git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1034583 13f79535-47bb-0310-9956-ffa450edef68
2010-11-12 22:09:42 +00:00
Michael Dick 70ef86b4cd OPENJPA-1877: Detect XMLType column for Oracle and treat as XML.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1032678 13f79535-47bb-0310-9956-ffa450edef68
2010-11-08 19:45:56 +00:00