Commit Graph

3466 Commits

Author SHA1 Message Date
Jeremy Bauer 22fc5ab4ef Refrain from logging if verifying log factory plugin.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1481536 13f79535-47bb-0310-9956-ffa450edef68
2013-05-12 12:14:40 +00:00
Heath Thomann 67f5e4c3c1 OPENJPA-2325: MappedSuperClass without an @Id causes wrong identity type for the inherited types - back-ported to 2.0.x Pinaki Poddar's commit to trunk, as well as an additional change he made specific to 2.0.x.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1469582 13f79535-47bb-0310-9956-ffa450edef68
2013-04-18 21:27:23 +00:00
Jeremy Bauer 4487017fbf Disable logging during brokerfactory de-serialization. Added type checking of plugin values.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1462318 13f79535-47bb-0310-9956-ffa450edef68
2013-03-28 21:43:39 +00:00
Albert Lee 8fb46ee0e3 OPENJPA-2326 - Fixed StoreCharAsInteger property for DB2.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1445655 13f79535-47bb-0310-9956-ffa450edef68
2013-02-13 15:14:13 +00:00
Albert Lee 28d89e95ba OPENJPA-2326 - Enable 20x running TCK 2 against databases other then Derby. Fixed a few configuration problems.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1445412 13f79535-47bb-0310-9956-ffa450edef68
2013-02-12 22:09:28 +00:00
Heath Thomann 1a20bc7c6f OPENJPA-2324: Option to express literal in query string directly into generate SQL - applied Albert's patch to 2.0.x
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1436515 13f79535-47bb-0310-9956-ffa450edef68
2013-01-21 18:00:57 +00:00
Heath Thomann 838b53bfce OPENJPA-2236: Put try/catch around connection info trace in DBDictionary - back ported Jeremy Bauer's trunk changes to 2.0.x.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1431723 13f79535-47bb-0310-9956-ffa450edef68
2013-01-10 23:16:55 +00:00
Albert Lee 54cab34e20 Revert switch to use www.apache.org/dist/openjpa/nightly.builds changes.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1431567 13f79535-47bb-0310-9956-ffa450edef68
2013-01-10 19:15:14 +00:00
Albert Lee 8c8d202c97 Switch to use www.apache.org/dist/openjpa/nightly.builds.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1431470 13f79535-47bb-0310-9956-ffa450edef68
2013-01-10 16:15:56 +00:00
Albert Lee 7397267f5e Update nightly build documentation upload location.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1430096 13f79535-47bb-0310-9956-ffa450edef68
2013-01-07 23:52:44 +00:00
Heath Thomann dab907a84c OPENJPA-1644: Null field values after calling EntityManager.remove() - back ported to 2.0.x Rick's changes from trunk.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1428664 13f79535-47bb-0310-9956-ffa450edef68
2013-01-03 23:13:45 +00:00
Heath Thomann 3958529f1f OPENJPA-2284: Save NPE while parsing cascade - back ported to 2.0.x Pinaki's commit to trunk.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1419659 13f79535-47bb-0310-9956-ffa450edef68
2012-12-10 18:52:09 +00:00
Heath Thomann 7f89076981 OPENJPA-2289: Applied Albert's patch to 2.0.x.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1415037 13f79535-47bb-0310-9956-ffa450edef68
2012-11-29 04:25:25 +00:00
Heath Thomann 636068420a OPENJPA-2244: Applied Helen's patch to 2.0.x.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1415035 13f79535-47bb-0310-9956-ffa450edef68
2012-11-29 03:30:55 +00:00
Albert Lee ac1109a62b OPENJPA-2247 Complete fix for 1x1 bi and mx1 uni relationships of the described problem.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1392660 13f79535-47bb-0310-9956-ffa450edef68
2012-10-01 22:15:38 +00:00
Jody Grassel d261800842 OPENJPA-2233: Update message text
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1389965 13f79535-47bb-0310-9956-ffa450edef68
2012-09-25 16:14:44 +00:00
Jody Grassel 090aa43c13 OPENJPA-2067: Update message text
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1389963 13f79535-47bb-0310-9956-ffa450edef68
2012-09-25 16:12:50 +00:00
Jody Grassel cd0385ccff OPENJPA-1845: Update message text
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1389955 13f79535-47bb-0310-9956-ffa450edef68
2012-09-25 16:10:30 +00:00
Jody Grassel 290f0aeccb 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@1389523 13f79535-47bb-0310-9956-ffa450edef68
2012-09-24 19:26:23 +00:00
Jody Grassel 7a528a03e4 OPENJPA-2233: Revert patch, delete new files
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1388063 13f79535-47bb-0310-9956-ffa450edef68
2012-09-20 15:09:57 +00:00
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