Jody Grassel
43c7eed360
OPENJPA-2149: Restore: Criteria.function adds wrong cats to parameters making it unusable
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1384574 13f79535-47bb-0310-9956-ffa450edef68
2012-09-13 22:30:02 +00:00
Jody Grassel
7eb70bf98c
OPENJPA-428: Restore: Bad error message regarding openjpa.Id
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1384572 13f79535-47bb-0310-9956-ffa450edef68
2012-09-13 22:28:00 +00:00
Jody Grassel
0a27ebd759
OPENJPA-2260: Revert needs removal of new files
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1384519 13f79535-47bb-0310-9956-ffa450edef68
2012-09-13 20:51:59 +00:00
Jody Grassel
c45b852156
OPENJPA-2261: Revert needs removal of new files
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1384498 13f79535-47bb-0310-9956-ffa450edef68
2012-09-13 20:03:04 +00:00
Jody Grassel
5a05dfbb9e
OPENJPA-2221: Remove System.out.println() from DBDictionary
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1384464 13f79535-47bb-0310-9956-ffa450edef68
2012-09-13 18:39:33 +00:00
Jody Grassel
a3e0a52f10
OPENJPA-428: Revert Changes
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1384463 13f79535-47bb-0310-9956-ffa450edef68
2012-09-13 18:37:49 +00:00
Jody Grassel
f75a9b4375
OPENJPA-2149: Revert Changes
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1384462 13f79535-47bb-0310-9956-ffa450edef68
2012-09-13 18:37:15 +00:00
Jody Grassel
6ca4748e30
OPENJPA-2260: Revert Changes
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1384461 13f79535-47bb-0310-9956-ffa450edef68
2012-09-13 18:36:46 +00:00
Jody Grassel
4f8fcc7360
OPENJPA-2261: Revert Changes
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1384460 13f79535-47bb-0310-9956-ffa450edef68
2012-09-13 18:35:55 +00:00
Jody Grassel
721563e103
OPENJPA-2261: Query SQL Cache issue with NULL parameters
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1382980 13f79535-47bb-0310-9956-ffa450edef68
2012-09-10 16:52:31 +00:00
Jody Grassel
0d1399566e
OPENJPA-2260: Parenthesis-augmented parameters are improperly processed at EM level
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1382953 13f79535-47bb-0310-9956-ffa450edef68
2012-09-10 15:52:02 +00:00
Jody Grassel
a40e5ed39a
OPENJPA-2149: Criteria.function adds wrong casts to parameters making it unusable
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1376627 13f79535-47bb-0310-9956-ffa450edef68
2012-08-23 18:15:30 +00:00
Jody Grassel
6931082027
OPENJPA-428: Bad error message regarding openjpa.Id
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1375702 13f79535-47bb-0310-9956-ffa450edef68
2012-08-21 18:14:37 +00:00
Albert Lee
17ecb7a338
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.1.x@1371268 13f79535-47bb-0310-9956-ffa450edef68
2012-08-09 16:01:30 +00:00
Jody Grassel
9ebe6c7ca5
OPENJPA-2227: OpenJPA doesn't find custom SequenceGenerators
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1366514 13f79535-47bb-0310-9956-ffa450edef68
2012-07-27 19:41:57 +00:00
Albert Lee
c067c64403
OPENJPA-2199 - Guard null pc value.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1361284 13f79535-47bb-0310-9956-ffa450edef68
2012-07-13 16:22:14 +00:00
Dianne E. Richards
f0646a15fc
OPENJPA-2221 Fix result of value mapping strategy
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1355034 13f79535-47bb-0310-9956-ffa450edef68
2012-06-28 14:58:23 +00:00
Heath Thomann
48951d15fe
OPENJPA-2139: Reverting previous changes to 2.1.x as we've found further considerartion/design is needed.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1350035 13f79535-47bb-0310-9956-ffa450edef68
2012-06-13 21:58:26 +00:00
Dianne E. Richards
09e1c209ea
OPENJPA-2207 Fix single numeric db identifier problem
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1348080 13f79535-47bb-0310-9956-ffa450edef68
2012-06-08 14:09:12 +00:00
Albert Lee
4c2d1f2d8b
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.1.x@1342801 13f79535-47bb-0310-9956-ffa450edef68
2012-05-25 20:28:34 +00:00
Heath Thomann
423ed6ead0
OPENJPA-2072: Applied Helen Xu's patch to 2.1.x
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1342291 13f79535-47bb-0310-9956-ffa450edef68
2012-05-24 15:04:57 +00:00
Heath Thomann
0148ee0d79
OPENJPA-2107: 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.1.x@1342138 13f79535-47bb-0310-9956-ffa450edef68
2012-05-24 04:34:15 +00:00
Heath Thomann
beab029dad
OPENJPA-2095: Applied Helen Xu's patch to 2.1.x
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1342113 13f79535-47bb-0310-9956-ffa450edef68
2012-05-24 00:59:58 +00:00
Heath Thomann
4ea7ec913a
OPENJPA-2174: Applied Helen Xu's patch to 2.1.x.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1342086 13f79535-47bb-0310-9956-ffa450edef68
2012-05-23 23:21:47 +00:00
Heath Thomann
b3f3418052
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.1.x@1342074 13f79535-47bb-0310-9956-ffa450edef68
2012-05-23 22:21:40 +00:00
Heath Thomann
87f7708cf2
OPENJPA-2118: Provide fix to avoid possible 'division by zero' error.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1342070 13f79535-47bb-0310-9956-ffa450edef68
2012-05-23 21:46:40 +00:00
Heath Thomann
e0793ab046
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.1.x@1340872 13f79535-47bb-0310-9956-ffa450edef68
2012-05-21 00:02:09 +00:00
Heath Thomann
47e5d28034
OPENJPA-2132: Applied to 2.1.x Dianna's changes from 2.2.x
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1340765 13f79535-47bb-0310-9956-ffa450edef68
2012-05-20 16:26:25 +00:00
Albert Lee
6c2fba48fe
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.1.x@1340122 13f79535-47bb-0310-9956-ffa450edef68
2012-05-18 15:08:41 +00:00
Dianne E. Richards
f80acc3f91
OPENJPA-2175 Fix problem with multiple foreign keys of the same type
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1339677 13f79535-47bb-0310-9956-ffa450edef68
2012-05-17 16:04:13 +00:00
Jody Grassel
0176a4005c
OPENJPA-2042: Diagnostics for Application Managed EntityManagerFactory leaks.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1338919 13f79535-47bb-0310-9956-ffa450edef68
2012-05-15 22:19:35 +00:00
Heath Thomann
129e6ae069
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.1.x@1337605 13f79535-47bb-0310-9956-ffa450edef68
2012-05-12 18:41:15 +00:00
Jody Grassel
61238ede48
OPENJPA-2146: StateManager for Embeddable may throw Exception while initializing
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1333100 13f79535-47bb-0310-9956-ffa450edef68
2012-05-02 16:26:55 +00:00
Heath Thomann
7642e7e249
OPENJPA-2133: Fix to allow custom mappings to be found by an applicable class loader.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1332313 13f79535-47bb-0310-9956-ffa450edef68
2012-04-30 17:44:20 +00:00
Heath Thomann
d5a324f802
OPENJPA-2159: Provide dictionary option for Date rounding - merged Dianne's changes from trunk.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1332307 13f79535-47bb-0310-9956-ffa450edef68
2012-04-30 17:28:30 +00:00
Dianne E. Richards
e44873972a
OPENJPA-2142 Fix copy problem
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1332025 13f79535-47bb-0310-9956-ffa450edef68
2012-04-29 23:40:10 +00:00
Dianne E. Richards
f725640046
OPENJPA-2142 Fix merge of a new entity
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1330360 13f79535-47bb-0310-9956-ffa450edef68
2012-04-25 15:45:18 +00:00
Albert Lee
d6af6b75f9
Add TCK 2 tck2-20110815.xml configuration and enable pluggability test.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1297100 13f79535-47bb-0310-9956-ffa450edef68
2012-03-05 15:52:06 +00:00
Heath Thomann
e985d5b4ad
OPENJPA-2117: Back-port Albert's trunk changes to 2.1.x
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1295384 13f79535-47bb-0310-9956-ffa450edef68
2012-03-01 02:34:54 +00:00
Kevin W. Sutter
63321e5906
Integrating the patchoj.py tool for ease of creating patches. It already existed in later releases, so I'm just bringing it backwards.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1293389 13f79535-47bb-0310-9956-ffa450edef68
2012-02-24 19:25:19 +00:00
Jody Grassel
52f9ae6718
OPENJPA-1901: QueryCacheStoreQuery CachedObjectId is not Serializable
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1240341 13f79535-47bb-0310-9956-ffa450edef68
2012-02-03 21:13:27 +00:00
Albert Lee
7b94014ca4
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.1.x@1231189 13f79535-47bb-0310-9956-ffa450edef68
2012-01-13 17:11:57 +00:00
Jody Grassel
4f6277057e
OPENJPA-1993: Deadlock Potential with ORM XML Processing
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1227818 13f79535-47bb-0310-9956-ffa450edef68
2012-01-05 20:30:35 +00:00
Jody Grassel
c410de6b83
OPENJPA-1993: Deadlock Potential with ORM XML Processing
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1227779 13f79535-47bb-0310-9956-ffa450edef68
2012-01-05 19:28:04 +00:00
Heath Thomann
36166e0d04
OPENJPA-2102: Added code to compare decoded URLs in AbstractCFMetaDataFactory.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1227170 13f79535-47bb-0310-9956-ffa450edef68
2012-01-04 14:41:20 +00:00
Richard G. Curtis
fe5cb1e0d6
OPENJPA-1986: Merge Compatibility javadoc from trunk.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1202817 13f79535-47bb-0310-9956-ffa450edef68
2011-11-16 18:06:59 +00:00
Heath Thomann
8400488b08
OPENJPA-2051: Change to ensure entities are properly cascaded after a flush.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1186889 13f79535-47bb-0310-9956-ffa450edef68
2011-10-20 16:29:48 +00:00
Heath Thomann
381bd91cc5
OPENJPA-2055: Added code to account for IPv6 addresses.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1179900 13f79535-47bb-0310-9956-ffa450edef68
2011-10-06 23:34:54 +00:00
Heath Thomann
860954f764
OPENJPA-1376: Updated DBDictionary to remove extraneous 'if' block.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1171254 13f79535-47bb-0310-9956-ffa450edef68
2011-09-15 20:15:43 +00:00
Heath Thomann
3a9bd6ad3c
OPENJPA-1691: Made update to localizer.properties
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1160888 13f79535-47bb-0310-9956-ffa450edef68
2011-08-23 21:26:48 +00:00