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
Richard G. Curtis
731649a2c9
OPENJPA-2472: Fix concurrency bug in ClassMetaData. Patch contributed by Dalia Abo Sheasha.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1564989 13f79535-47bb-0310-9956-ffa450edef68
2014-02-05 23:12:37 +00:00
Richard G. Curtis
e21bcdfaa9
OPENJPA-2134: Deprecate EntityManagerImpl.prepareForPooling().
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1564976 13f79535-47bb-0310-9956-ffa450edef68
2014-02-05 22:48:55 +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
Jody Grassel
bcf46e516c
OPENJPA-2423: Added null-check to DB2Dictionary update
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1564537 13f79535-47bb-0310-9956-ffa450edef68
2014-02-04 22:23:09 +00:00
Jody Grassel
4e8732d4ae
OPENJPA-2450: Option to disable execution of ALTER SEQUENCE...INCREMENT BY statement for sequences.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1564080 13f79535-47bb-0310-9956-ffa450edef68
2014-02-03 21:48:45 +00:00
Richard G. Curtis
bf646350ea
OPENJPA-2470 : Update DataCacheManagerImpl to use a ConcurrentHashMap rather than a HashMap.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1558594 13f79535-47bb-0310-9956-ffa450edef68
2014-01-15 22:34:05 +00:00
Richard G. Curtis
d0a311efe0
OPENJPA-2463 : Change message from error to warning.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1551449 13f79535-47bb-0310-9956-ffa450edef68
2013-12-17 02:43:23 +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
Richard G. Curtis
d4425f5799
OPENJPA-2466: Fix checkstyle problem.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1550731 13f79535-47bb-0310-9956-ffa450edef68
2013-12-13 14:03:11 +00:00
Richard G. Curtis
7c0c4a0a30
OPENJPA-2466: Update ReverseMappingTool to optionally write generated class to a String.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1550626 13f79535-47bb-0310-9956-ffa450edef68
2013-12-13 03:26:06 +00:00
Kevin W. Sutter
74671312a5
OPENJPA-2459. Update source and test java level to 1.7 as the minimum version.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1545100 13f79535-47bb-0310-9956-ffa450edef68
2013-11-24 22:39:53 +00:00
Heath Thomann
28cad3351c
OPENJPA-2449: refresh(PESSIMISTIC_WRITE) generates seperate SQL for the lock - applied to trunk Albert Lee's patch.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1539200 13f79535-47bb-0310-9956-ffa450edef68
2013-11-05 23:47:16 +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
Albert Lee
a28818b7d5
OPENJPA-2018 add svn:eol-style=native property
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1536036 13f79535-47bb-0310-9956-ffa450edef68
2013-10-26 20:59:04 +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
d8395bdc56
OPENJPA-2443 : Remove unnecessary import.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1535082 13f79535-47bb-0310-9956-ffa450edef68
2013-10-23 17:58:23 +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
Mark Struberg
a76249e143
OPENJPA-2440 close connection after not using it anymore
...
this prevents leaks like the one reported by rmannibucau.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1533641 13f79535-47bb-0310-9956-ffa450edef68
2013-10-18 21:28:57 +00:00
Mark Struberg
67082453b3
OPENJPA-2409 enable persistenceXmlFile parameter to handle classpath resources as well.
...
contributed by rmannibucau, txs!
applied with small changes and doc improvements
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1533466 13f79535-47bb-0310-9956-ffa450edef68
2013-10-18 14:25:55 +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
Mark Struberg
35c91eef22
OPENJPA-2221 AbstractValueHandler map() fix applied to trunk
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1533047 13f79535-47bb-0310-9956-ffa450edef68
2013-10-17 11:04:35 +00:00
Jody Grassel
70ccfae92f
OPENJPA-2433: Queries with a sort clause returns fewer entries than the same query that does not have a sort clause
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1532909 13f79535-47bb-0310-9956-ffa450edef68
2013-10-16 21:06:27 +00:00
Jody Grassel
c8e3d5dcbb
OPENJPA-2414: FinderCache does not consider active Fetch Groups/FetchPlan added Fields
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1532882 13f79535-47bb-0310-9956-ffa450edef68
2013-10-16 20:12:10 +00:00
Richard G. Curtis
c3f73b7f7c
Minor test change in TestUseSchemaElement to clean up prior to running.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1532833 13f79535-47bb-0310-9956-ffa450edef68
2013-10-16 17:56:11 +00:00
Richard G. Curtis
e719ad01e9
OPENJPA-2283 : Merge changes from 2.3.x to trunk.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1532523 13f79535-47bb-0310-9956-ffa450edef68
2013-10-15 20:32:07 +00:00
Heath Thomann
3b94663fe2
OPENJPA-2425: SELECT fields with @ExternalValues defined returns datastore values instead of unmapped fields - applied Albert Lee's patch to trunk.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1530368 13f79535-47bb-0310-9956-ffa450edef68
2013-10-08 17:35:57 +00:00
Jody Grassel
a3fccb40e3
OPENJPA-2432: MySQL dictionary can't be found from a valid connection
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1526968 13f79535-47bb-0310-9956-ffa450edef68
2013-09-27 16:05:01 +00:00
Jeremy Bauer
9f8a682a03
OPENJPA-2366 Committing code and unit tests contributed by Austin Dorenkamp
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1519550 13f79535-47bb-0310-9956-ffa450edef68
2013-09-03 04:18:09 +00:00
Heath Thomann
7a9815a15f
OPENJPA-2423: Isolation level is not working properly on DB2 for JPQL queries with nested sub-queries - committed to trunk the patch/fix provided by Pinaki Poddar.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1517843 13f79535-47bb-0310-9956-ffa450edef68
2013-08-27 15:06:13 +00:00
Jody Grassel
ee6f4acc3f
OPENJPA-2414: FinderCache does not consider active Fetch Groups/FetchPlan added Fields
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1516853 13f79535-47bb-0310-9956-ffa450edef68
2013-08-23 14:11:17 +00:00
Michael Dick
ea05b25d46
OPENJPA-1459: Rename to binaries-nodocs and remove dead code in pom.xml
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1516681 13f79535-47bb-0310-9956-ffa450edef68
2013-08-23 02:40:56 +00:00
Michael Dick
4397b003cb
OPENJPA-1459: Add new archive that doesn't include sources or javadocs
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1516357 13f79535-47bb-0310-9956-ffa450edef68
2013-08-22 01:50:27 +00:00
Pinaki Poddar
1896a2850c
OPENJPA-2318: Left outer join is not generated because allowNull was not passed correctly
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1514833 13f79535-47bb-0310-9956-ffa450edef68
2013-08-16 18:25:23 +00:00
Pinaki Poddar
2841d18dda
OPENJPA-2421: Correct a bug on FinderTargetPolicy
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1514829 13f79535-47bb-0310-9956-ffa450edef68
2013-08-16 18:12:29 +00:00
Heath Thomann
0aed173d4f
OPENJPA-2376: Escape character in JPQL with parameter substitution generates incorrect SQL - committed a patch sent to me by Albert Lee - merged changes from 2.1.x.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1513276 13f79535-47bb-0310-9956-ffa450edef68
2013-08-12 22:02:58 +00:00
Jody Grassel
9acc4e2b73
OPENJPA-2368: Revert change to OpenJPA Extendable ORM Target NameSpace doc update
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1512334 13f79535-47bb-0310-9956-ffa450edef68
2013-08-09 15:12:31 +00:00
Jody Grassel
6952aec464
OPENJPA-2368: Revert change to OpenJPA Extendable ORM Target NameSpace
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1512004 13f79535-47bb-0310-9956-ffa450edef68
2013-08-08 19:56:10 +00:00
Richard G. Curtis
d4b693e4e8
OPENJPA-2418 : Fix checkstyle to run with maven 3.x.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1511367 13f79535-47bb-0310-9956-ffa450edef68
2013-08-07 15:46:38 +00:00