Heath Thomann
bc0ac7ca59
OPENJPA-2027: Metamodel genereated at runtime expects ListAttribute for all arrays - not just PersistentCollections. Back-ported Mike Dick's trunk changes to 2.1.x; made Compatibility property default to true.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1469452 13f79535-47bb-0310-9956-ffa450edef68
2013-04-18 17:08:36 +00:00
Heath Thomann
19f8697218
OPENJPA-2025: Byte[] and Char[] should be treated as SingularAttributes, not lists by the metamodel generator - merged Mike Dick's trunk changes to 2.1.x
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1469097 13f79535-47bb-0310-9956-ffa450edef68
2013-04-17 23:18:05 +00:00
Heath Thomann
59322050ed
OPENJPA-2305: Canonical MetaModel class generation should not use inhertence - applied Pinaki's trunk changes to 2.1.x.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1469090 13f79535-47bb-0310-9956-ffa450edef68
2013-04-17 22:55:02 +00:00
Jeremy Bauer
d3c68ad3bb
Disable logging during brokerfactory de-serialization. Added type checking of plugin values.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1462268 13f79535-47bb-0310-9956-ffa450edef68
2013-03-28 19:33:00 +00:00
Albert Lee
6853346d37
OPENJPA-2326 - Fixed StoreCharAsInteger property for DB2.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1445652 13f79535-47bb-0310-9956-ffa450edef68
2013-02-13 15:14:06 +00:00
Albert Lee
757b4cf4de
OPENJPA-2326 - Enable 21x and 221x 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.1.x@1445201 13f79535-47bb-0310-9956-ffa450edef68
2013-02-12 15:40:38 +00:00
Heath Thomann
25ac722fbc
OPENJPA-2324: Removed commented out println's.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1436521 13f79535-47bb-0310-9956-ffa450edef68
2013-01-21 18:07:32 +00:00
Heath Thomann
471af4c094
OPENJPA-2324: Option to express literal in query string directly into generate SQL - applied Albert's patch to 2.1.x
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1436150 13f79535-47bb-0310-9956-ffa450edef68
2013-01-21 03:16:21 +00:00
Heath Thomann
7d31775a03
OPENJPA-2321: Synchronizing logging output stream causes deadlock when used some JDK LogManger derivative - back ported to 2.1.x Pinaki's trunk changes.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1434944 13f79535-47bb-0310-9956-ffa450edef68
2013-01-17 22:40:34 +00:00
Heath Thomann
e3b1f02221
OPENJPA-2320: Remove static initializers because recursive Predicate constructor deadlocks - back ported Pinaki Poddar's trunk changes to 2.1.x - this issue also depends upon OPENJPA-2304.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1431737 13f79535-47bb-0310-9956-ffa450edef68
2013-01-10 23:52:05 +00:00
Albert Lee
dfb36ebfd4
Revert switch to use www.apache.org/dist/openjpa/nightly.builds changes.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1431563 13f79535-47bb-0310-9956-ffa450edef68
2013-01-10 19:15:06 +00:00
Albert Lee
cad87b2d14
Switch to use www.apache.org/dist/openjpa/nightly.builds.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1431466 13f79535-47bb-0310-9956-ffa450edef68
2013-01-10 16:15:48 +00:00
Albert Lee
d3380bdb51
OPENJPA-2236 - back port from 2.2.x to 2.1.x
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1430543 13f79535-47bb-0310-9956-ffa450edef68
2013-01-08 21:12:49 +00:00
Albert Lee
3aeefe26f5
Update nightly build documentation upload location.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1430093 13f79535-47bb-0310-9956-ffa450edef68
2013-01-07 23:52:38 +00:00
Heath Thomann
5beac33c27
OPENJPA-2257: Properly synchronized _supportedKeys in ConigurationImpl as contributed by Albert Lee, as well as additional changes to return a copy of _supportedKeys. Test case contributed by Stephan Hagedorn.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1426582 13f79535-47bb-0310-9956-ffa450edef68
2012-12-28 17:01:26 +00:00
Heath Thomann
2fc19c4250
OPENJPA-2235: Updated TestIsolationFecthHint test to fix build failure.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1426386 13f79535-47bb-0310-9956-ffa450edef68
2012-12-28 03:40:56 +00:00
Heath Thomann
302e33b6c1
OPENJPA-2235: READ_UNCOMMITTED setting for the fetch plan isolation level is ignored in DB2Dictionary - applied Helen Xu's patch to 2.1.x.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1426348 13f79535-47bb-0310-9956-ffa450edef68
2012-12-27 22:13:44 +00:00
Heath Thomann
5095e46e29
OPENJPA-2304: Protect the expressin list for concurrent access - back ported to 2.1.x Pinaki's commit in trunk.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1423116 13f79535-47bb-0310-9956-ffa450edef68
2012-12-17 20:08:43 +00:00
Heath Thomann
cd0e909732
OPENJPA-2284: Save NPE while parsing cascade - back ported to 2.1.x Pinaki's commit to trunk.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1419734 13f79535-47bb-0310-9956-ffa450edef68
2012-12-10 20:31:59 +00:00
Heath Thomann
06ebc55e52
OPENJPA-2289: Applied Albert's patch to 2.1.x
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1415398 13f79535-47bb-0310-9956-ffa450edef68
2012-11-29 21:50:49 +00:00
Heath Thomann
3857502bac
OPENJPA-2244: Applied Helen's patch to 2.1.x.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1415379 13f79535-47bb-0310-9956-ffa450edef68
2012-11-29 21:09:58 +00:00
Jody Grassel
56ee353482
OPENJPA-2288: MetaDataRepository should be able to filter classes from other app ClassLoaders in JEE Env
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1413841 13f79535-47bb-0310-9956-ffa450edef68
2012-11-26 21:05:04 +00:00
Jody Grassel
eb1cf11b87
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.1.x@1397306 13f79535-47bb-0310-9956-ffa450edef68
2012-10-11 20:58:20 +00:00
Albert Lee
4c8ecb3d73
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.1.x@1392660 13f79535-47bb-0310-9956-ffa450edef68
2012-10-01 22:15:38 +00:00
Jody Grassel
2e1b548569
OPENJPA-2261: Restore: Query SQL Cache issue with NULL parameters
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1384579 13f79535-47bb-0310-9956-ffa450edef68
2012-09-13 22:34:37 +00:00
Jody Grassel
e4bc39541f
OPENJPA-2260: Restore: Parenthesis-augmented parameters are improperly processed at EM level
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1384576 13f79535-47bb-0310-9956-ffa450edef68
2012-09-13 22:32:33 +00:00
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