Heath Thomann
8129fe685b
OPENJPA-2536: FetchGroup is not returning lazy fields. Applied Rick Curtis' fix to trunk.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1655360 13f79535-47bb-0310-9956-ffa450edef68
2015-01-28 15:28:40 +00:00
Mark Struberg
244e37b189
OPENJPA-2558 add proper logging for BooleanRepresentation
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1654485 13f79535-47bb-0310-9956-ffa450edef68
2015-01-24 09:24:57 +00:00
Mark Struberg
9e54e9e79e
OPENJPA-2558 fix eol-style
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1654356 13f79535-47bb-0310-9956-ffa450edef68
2015-01-23 20:02:02 +00:00
Mark Struberg
8c6b968190
OPENJPA-2558 add getRepresentation to allow BooleanRepresentation be used in SQLBuffer
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1654352 13f79535-47bb-0310-9956-ffa450edef68
2015-01-23 19:56:22 +00:00
Mark Struberg
c5e4fac841
OPENJPA-2558 implement BooleanRepresentation which can be switched via config
...
Each DBDictionary has it's own default BooleanRepresentation but can easily get changed by the user
e.g. via
<property name="openjpa.jdbc.DBDictionary"
value="(BitTypeName=CHAR(1),BooleanTypeName=CHAR(1),BooleanRepresentation=STRING_10)"/>
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1652761 13f79535-47bb-0310-9956-ffa450edef68
2015-01-18 14:30:44 +00:00
Heath Thomann
4ca9dbd741
OPENJPA-2547: When two threads attempt to get a Pessimistic Lock, one thread gets a 'false' lock. Applied fix to trunk.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1651847 13f79535-47bb-0310-9956-ffa450edef68
2015-01-14 21:56:22 +00:00
Mark Struberg
69f3a6e1c9
OPENJPA-2534 cleanup DBDictionary alias handling
...
use class.getName() to prevent typos - no functional change yet.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1650957 13f79535-47bb-0310-9956-ffa450edef68
2015-01-11 19:52:59 +00:00
Mark Struberg
da75d5b27a
add documentation about how to speed up the local build and skip timeout tests
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1650605 13f79535-47bb-0310-9956-ffa450edef68
2015-01-09 17:20:59 +00:00
Mark Struberg
336f654551
OPENJPA-2018 improve readability
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1650604 13f79535-47bb-0310-9956-ffa450edef68
2015-01-09 17:20:25 +00:00
Richard G. Curtis
b48106b072
OPENJPA-2542: Use bundle classloader AND PersistenceUnitInfo classloader when creating a BrokerFactory.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1644414 13f79535-47bb-0310-9956-ffa450edef68
2014-12-10 14:11:45 +00:00
Jody Grassel
7c0e7f2efd
OPENJPA-2381: Update serp to 1.15.1
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1641442 13f79535-47bb-0310-9956-ffa450edef68
2014-11-24 18:48:57 +00:00
Heath Thomann
b659ac2578
OPENJPA-2534: A boolean is not converted correct when using the hint 'UseLiteralInSQL' - applied Rick's patch to trunk.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1636474 13f79535-47bb-0310-9956-ffa450edef68
2014-11-03 23:48:24 +00:00
Jody Grassel
4540f82216
OPENJPA-1988: openjpa does not process persistence unit default <cascade-persist>
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1636415 13f79535-47bb-0310-9956-ffa450edef68
2014-11-03 18:40:59 +00:00
Richard G. Curtis
08d94d75d6
OPENJPA-2533: Reorder MetaDataRepository call to fix a bug in orm resloution.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1632647 13f79535-47bb-0310-9956-ffa450edef68
2014-10-17 18:35:03 +00:00
Richard G. Curtis
078da9d00f
OPENJPA-2535: Update failing test.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1632408 13f79535-47bb-0310-9956-ffa450edef68
2014-10-16 18:45:05 +00:00
Richard G. Curtis
27260ba8eb
OPENJPA-2535: Disable DBCS tests as it is causing Eclipse and checkstyle problems.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1632363 13f79535-47bb-0310-9956-ffa450edef68
2014-10-16 15:53:18 +00:00
Richard G. Curtis
a4b909ba64
OPENJPA-2535: Update suppressions.xml as checkstyle does not like having a DBCS character in a test.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1632182 13f79535-47bb-0310-9956-ffa450edef68
2014-10-15 21:42:22 +00:00
Jody Grassel
7b1483052d
OPENJPA-2381: Upgrade Serp to 1.15.0
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1632148 13f79535-47bb-0310-9956-ffa450edef68
2014-10-15 18:04:30 +00:00
Heath Thomann
b6eee24112
OPENJPA-2535: Fixed issue with DBCS characters in identifiers - merged from 2.2.x commit.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1631860 13f79535-47bb-0310-9956-ffa450edef68
2014-10-14 19:57:44 +00:00
Jody Grassel
3235030257
OPENJPA-2525: Change new test entities to use AUTO instead of IDENTITY pk generation
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1629049 13f79535-47bb-0310-9956-ffa450edef68
2014-10-02 19:20:31 +00:00
Jody Grassel
319bb37fe1
OPENJPA-2525: Use of JoinColumn targets to another joinColumn key exposed as an attribute will cause a ConstrainViolation exception on persist
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1627091 13f79535-47bb-0310-9956-ffa450edef68
2014-09-23 17:03:48 +00:00
Heath Thomann
077ad2b446
OPENJPA-2494: A default Schema defined in a PU default (<persistence-unit-defaults>) in an orm.xml file is not being honored.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1626916 13f79535-47bb-0310-9956-ffa450edef68
2014-09-22 23:06:18 +00:00
Richard G. Curtis
86c478ac07
OPENJPA-2505 : Properly init MetaDataRepository when obtaining a reference in EntityManagerFactory.getMetaModel.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1626287 13f79535-47bb-0310-9956-ffa450edef68
2014-09-19 17:59:00 +00:00
Albert Lee
3eaaa0c4b2
OPENJPA-2516 - Aggregate connection property for Driver.connect
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1610313 13f79535-47bb-0310-9956-ffa450edef68
2014-07-13 22:38:03 +00:00
Richard G. Curtis
fc4e1e4f58
OPENJPA-2515: Update openjpa-project assemblies to include xbean-asm.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1608894 13f79535-47bb-0310-9956-ffa450edef68
2014-07-08 18:49:02 +00:00
Richard G. Curtis
0a91a631b8
OPENJPA-2506: Update JPAFacadeHelper to properly create an OpenJPA identity object. Patch contributed by Dalia Abo Sheasha.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1603251 13f79535-47bb-0310-9956-ffa450edef68
2014-06-17 18:30:35 +00:00
Kevin W. Sutter
da48a0ad53
OPENJPA-2507. Committing a variation of Thomas Darimont's patch that utilizes ThreadLocal storage to safeguard the _contexts in CriteriaQueryImpl.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1601778 13f79535-47bb-0310-9956-ffa450edef68
2014-06-10 21:47:31 +00:00
Richard G. Curtis
e48cd3e59d
OPENJPA-2508 : Account for JOIN FETCH statements when loading from the Query Cache.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1600757 13f79535-47bb-0310-9956-ffa450edef68
2014-06-05 20:49:01 +00:00
Richard G. Curtis
b95e0d1c6c
OPENJPA-2502 : Update accessPath metas in CriteriaExpressionBuilder. Merged changes from 2.2.1.x. Patch contributed by Albert Lee.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1600682 13f79535-47bb-0310-9956-ffa450edef68
2014-06-05 15:48:54 +00:00
Kevin W. Sutter
80015bdbf9
OPENJPA-2459. Revert back to Java 6 in preparation for an interim release before embarking on JPA 2.1 and Java 7 and the rest of Java EE 7...
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1599775 13f79535-47bb-0310-9956-ffa450edef68
2014-06-03 19:45:39 +00:00
Kevin W. Sutter
d6c469da60
OPENJPA-2509. Updated doc references from @MappedById to @MapsId.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1598334 13f79535-47bb-0310-9956-ffa450edef68
2014-05-29 16:55:18 +00:00
Heath Thomann
d7dfa322d6
OPENJPA-2478: Fixed erroneous message from the enhancer when a Mapped Superclass contains an @Id.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1591689 13f79535-47bb-0310-9956-ffa450edef68
2014-05-01 15:47:53 +00:00
Heath Thomann
3f33d76a34
OPENJPA-2476: Fixed OptimisticLockEx due to rounding of a Timestamp
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1591541 13f79535-47bb-0310-9956-ffa450edef68
2014-05-01 03:24:11 +00:00
Jody Grassel
4f23e3fc95
OPENJPA-2368: Undo revert on trunk (Move www.apache.org/openjpa/ns/orm to openjpa.apache.org/ns/orm)
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1589852 13f79535-47bb-0310-9956-ffa450edef68
2014-04-24 19:48:02 +00:00
Kevin W. Sutter
b664f187d3
OPENJPA-2492. Committing a variation of the patch as provided by Romain Manni-Bucau. This patch clears up the ConcurrentHashMap issues relating to the KeySetView return type. This patch also adds a couple of asserts to an existing testcase to verify the results.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1589187 13f79535-47bb-0310-9956-ffa450edef68
2014-04-22 16:01:56 +00:00
Kevin W. Sutter
8aa54b6989
OPENJPA-2491. One other minor spelling update for a testcase name...
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1589183 13f79535-47bb-0310-9956-ffa450edef68
2014-04-22 15:57:49 +00:00
Kevin W. Sutter
a90ffa2760
OPENJPA-2489. Committing patch as provided by Romain Manni-Bucau. This patch just modifies the testcase to skip attempting to process some new Java 8 methods that are not needed yet...
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1588978 13f79535-47bb-0310-9956-ffa450edef68
2014-04-21 20:33:55 +00:00
Kevin W. Sutter
10089d6126
OPENJPA-2491. Variation of the patch as provided by Romain Manni-Bucau. Besides clearing the cache, I also corrected the spelling of "parameter" in this testcase name and another related testcase.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1588977 13f79535-47bb-0310-9956-ffa450edef68
2014-04-21 20:30:10 +00:00
Kevin W. Sutter
b3d7fe8829
OPENJPA-2442. Just using ProxyConcurrentMaps for proxying the Map methods. Since this extends ProxyMaps anyway, this is pretty safe change. This change resolves the TestProxyManager errors in openjpa-kernel when testing with Java 8 runtime. And, it doesn't affect Java 7 runtime at all. Refer to the Comments section for more details.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1586651 13f79535-47bb-0310-9956-ffa450edef68
2014-04-11 13:33:05 +00:00
Kevin W. Sutter
c0b6d88285
OPENJPA-2487. This patch provided by Romain Manni-Bucau looks good. As stated in the Comments, this patch by itself is not sufficient for Java 8 runtime support, but it is a crucial step. Follow the linked JIRAs for additional fixes required to fully support Java 8.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1586647 13f79535-47bb-0310-9956-ffa450edef68
2014-04-11 13:20:14 +00:00
Heath Thomann
833031ba61
OPENJPA-2286: ArgumentException: Attempt to compare incompatible types class java.util.Date and class org.apache.openjpa.jdbc.sql.Raw
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1580972 13f79535-47bb-0310-9956-ffa450edef68
2014-03-24 18:26:36 +00:00
Heath Thomann
030ba2a41f
OPENJPA-1986: Extra queries being generated when cascading a persist - added another/similar check to the ones added by Rick.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1580913 13f79535-47bb-0310-9956-ffa450edef68
2014-03-24 16:43:40 +00:00
Heath Thomann
873daf3531
OPENJPA-2475: A query with LEFT FETCH JOIN returns incorrect results - applied fix to trunk.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1580432 13f79535-47bb-0310-9956-ffa450edef68
2014-03-23 02:38:08 +00:00
Mark Struberg
fa027f605b
update copyright year
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1578084 13f79535-47bb-0310-9956-ffa450edef68
2014-03-16 14:19:22 +00:00
Richard G. Curtis
51e2b70be5
OPENJPA-2482: Cache column alias on colum+pathjoins rather than just column.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1576505 13f79535-47bb-0310-9956-ffa450edef68
2014-03-11 21:12:12 +00:00
Richard G. Curtis
6d8a46e825
OPENJPA-2441: Remove usage of NullSafeConcurrentHashMap. Patch contributed by Dalia Abo Sheasha.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1570261 13f79535-47bb-0310-9956-ffa450edef68
2014-02-20 16:33:30 +00:00
Richard G. Curtis
f01f7c4721
OPENJPA-2285: Recommitted DataCacheStoreManager improvement.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1570016 13f79535-47bb-0310-9956-ffa450edef68
2014-02-20 00:38:29 +00:00
Richard G. Curtis
d5eec88a8a
OPENJPA-2389: Update message to be more descriptive. Patch contributed by Ben (?) and Dalia Abo Sheasha.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1569557 13f79535-47bb-0310-9956-ffa450edef68
2014-02-18 23:25:50 +00:00
Richard G. Curtis
48eaa1aef1
OPENJPA-2022 : Minor change to SchemaGenerator. Patch contributed by Jason Zwolak.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1569106 13f79535-47bb-0310-9956-ffa450edef68
2014-02-17 20:38:48 +00:00
Heath Thomann
d802d74930
OPENJPA-2453: Add support to retain milliseconds of 'un-rounded' Date field.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1566872 13f79535-47bb-0310-9956-ffa450edef68
2014-02-10 23:55:57 +00:00