Heath Thomann
bdaf141298
OPENJPA-1988: Made an update to the test case for this JIRA, i.e. merged r1642555 from 2.2.x to trunk
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1674167 13f79535-47bb-0310-9956-ffa450edef68
2015-04-16 23:34:58 +00:00
Heath Thomann
7b1c24e1fa
OPENJPA-2571: Criteria Builder query generates extra alias when using multiselect.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1673513 13f79535-47bb-0310-9956-ffa450edef68
2015-04-14 18:59:29 +00:00
Heath Thomann
9d4c78dfff
OPENJPA-2534: A boolean is not converted correct when using the hint 'UseLiteralInSQL' - made test update.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1673509 13f79535-47bb-0310-9956-ffa450edef68
2015-04-14 18:58:07 +00:00
Heath Thomann
f6c5acd9b3
OPENJPA-1988: Made an update to the test case for this JIRA, i.e. merged r1641906 from 2.2.x to trunk.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1673276 13f79535-47bb-0310-9956-ffa450edef68
2015-04-13 20:32:10 +00:00
Mark Struberg
85556cb9ea
OPENJPA-2576 remove @nonjava which is actually not a javadoc tag
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1671792 13f79535-47bb-0310-9956-ffa450edef68
2015-04-07 10:37:14 +00:00
Mark Struberg
f1ad383f4f
remove empty @return javadocs
...
just caused javadoc warnings...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1671694 13f79535-47bb-0310-9956-ffa450edef68
2015-04-06 20:57:11 +00:00
Mark Struberg
d13ffa5eb3
OPENJPA-2335 only handle key columns very restrictive
...
There is no reason to forbid updates to other Columns like OrderColumn, etc
Ported over from 2.3.x
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1667136 13f79535-47bb-0310-9956-ffa450edef68
2015-03-16 21:45:43 +00:00
Heath Thomann
6591d4d464
OPENJPA-2557: FinderCache contains incorrectly cached query with a NULL for a Primary Key.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1662615 13f79535-47bb-0310-9956-ffa450edef68
2015-02-27 01:44:09 +00:00
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
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
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
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
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
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
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
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
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
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
Richard G. Curtis
0527c4570d
OPENJPA-2467: Fix detection of property access method names. Patch contributed by Dalia Abo Sheasha.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1564931 13f79535-47bb-0310-9956-ffa450edef68
2014-02-05 21:18:31 +00:00
Richard G. Curtis
9ce4d50169
OPENJPA-2233: Merge changes to trunk.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1551446 13f79535-47bb-0310-9956-ffa450edef68
2013-12-17 02:28:23 +00:00
Mark Struberg
08035c10ef
OPENJPA-2200 remove unused imports
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1536637 13f79535-47bb-0310-9956-ffa450edef68
2013-10-29 10:11:46 +00:00
Mark Struberg
f4b2428008
OPENJPA-2437 transactional listeners added too late to observe begin event
...
txs 2 rmannibucau for the fix.
Patch applied with cleanup and tests pimped.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1536595 13f79535-47bb-0310-9956-ffa450edef68
2013-10-29 06:36:34 +00:00
Mark Struberg
310be13508
OPENJPA-2444 move the cleanup after freeing the InputStream
...
Win* blocks the whole file as long as the InputStream is not closed.
Thus we can only delete the file afterwards.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1536455 13f79535-47bb-0310-9956-ffa450edef68
2013-10-28 18:01:14 +00:00
Mark Struberg
092e70e0ac
OPENJPA-2018 fix handling of Arrays in Select IN statements
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1536439 13f79535-47bb-0310-9956-ffa450edef68
2013-10-28 17:43:21 +00:00
Mark Struberg
9da7935946
OPENJPA-2018 improve unit test setup
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1535838 13f79535-47bb-0310-9956-ffa450edef68
2013-10-25 19:40:31 +00:00
Mark Struberg
c428609da7
OPENJPA-2018 correctly handle select IN with arrays
...
txs to rmannibucau for the patch.
Applied with minor changes
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1535760 13f79535-47bb-0310-9956-ffa450edef68
2013-10-25 15:13:10 +00:00
Mark Struberg
fef5615e53
OPENJPA-2444 also use target folder in the test itself
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1535692 13f79535-47bb-0310-9956-ffa450edef68
2013-10-25 11:19:59 +00:00
Mark Struberg
4551bbc696
OPENJPA-2444 fix default orm.xml location for ReverseMappingTool
...
I also fixed the badly formatted and partly broken TestUseSchemaElement.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1535648 13f79535-47bb-0310-9956-ffa450edef68
2013-10-25 07:13:13 +00:00
Mark Struberg
70f1188d19
release preparation upgrade trunk to 2.4.0-SNAPSHOT
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1535565 13f79535-47bb-0310-9956-ffa450edef68
2013-10-24 21:39:43 +00:00
Richard G. Curtis
1f38337481
OPENJPA-2443 : Fix SingleFieldManager to not check for null values for IDENTITY generated fields when flushing.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1535067 13f79535-47bb-0310-9956-ffa450edef68
2013-10-23 15:58:46 +00:00
Heath Thomann
83dab92168
OPENJPA-2435: Version field in a projection always returned as an Integer. Merged 2.1.x changes to trunk.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1533289 13f79535-47bb-0310-9956-ffa450edef68
2013-10-17 23:28:31 +00:00
Heath Thomann
bb743b5f15
OPENJPA-2343: Version field returns null when explicity projected from a JOIN in SELECT clause - based fix off of patch provided by Howard Kelsey. Merged 2.2.x commit to trunk.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1533227 13f79535-47bb-0310-9956-ffa450edef68
2013-10-17 19:46:14 +00:00
Jody Grassel
dc36e9ae8f
OPENJPA-2438: EmbedFieldStrategy.containsEmbeddedResult() optimization fails under certain native sql query conditions
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1533094 13f79535-47bb-0310-9956-ffa450edef68
2013-10-17 14:48:16 +00:00