Kevin W. Sutter
c55f8469f1
OPENJPA-2134. Do not close Connections during prepareForPooling if ConnectionRetainMode is set to "always".
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1291900 13f79535-47bb-0310-9956-ffa450edef68
2012-02-21 16:31:22 +00:00
Albert Lee
408d8b4463
Update pom.xml version to 2.3.0-SNAPSHOTS in trunk after 2.2.0 is released.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1291435 13f79535-47bb-0310-9956-ffa450edef68
2012-02-20 20:37:05 +00:00
Albert Lee
4d1e1bc8df
[maven-release-plugin] prepare release 2.2.x
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1244808 13f79535-47bb-0310-9956-ffa450edef68
2012-02-16 00:30:29 +00:00
Kevin W. Sutter
2bbbcc9d73
OPENJPA-2099. With Pinaki's green light, we're going to back out the changes for OpenJPA-2099 and OpenJPA-2111 so that we can make progress on the OpenJPA 2.2.0 release.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1243702 13f79535-47bb-0310-9956-ffa450edef68
2012-02-13 21:23:54 +00:00
Richard G. Curtis
98859e2006
OPENJPA-2119: Fix checkstyle error.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1242163 13f79535-47bb-0310-9956-ffa450edef68
2012-02-08 22:58:33 +00:00
Richard G. Curtis
824753b36c
OPENJPA-2119: Added support for generating a constructor and greater support for tabbing. Also fixed a number of bugs.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1242154 13f79535-47bb-0310-9956-ffa450edef68
2012-02-08 22:38:07 +00:00
Kevin W. Sutter
e8aaaccf9c
OPENJPA-2076. The ASL message that is inserted into the generated metamodel code should not be translated. Added a comment to indicate this.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1241052 13f79535-47bb-0310-9956-ffa450edef68
2012-02-06 15:57:41 +00:00
Pinaki Poddar
e37a589072
OPENJPA:1050: Use generics
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1236280 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 16:36:38 +00:00
Pinaki Poddar
49adef7c61
OPENJPA-2099: Use thread gate for reused select. Guard parameter binding
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1235533 13f79535-47bb-0310-9956-ffa450edef68
2012-01-24 22:26:27 +00:00
Pinaki Poddar
3dee2ca176
Use typed list when possible
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1233023 13f79535-47bb-0310-9956-ffa450edef68
2012-01-18 19:57:47 +00:00
Pinaki Poddar
1a50b5fe76
OPENJPA:2099: Cacheing select construct with class/field strategy. Adding configuration
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1232415 13f79535-47bb-0310-9956-ffa450edef68
2012-01-17 14:04:07 +00:00
Mark Struberg
3beb74571a
switch back trunk to 2.2.0-SNAPSHOT
...
we wil restart the 2.2.x after a few important fixes on trunk
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1230495 13f79535-47bb-0310-9956-ffa450edef68
2012-01-12 11:28:50 +00:00
Mark Struberg
6289157f9c
release preparation. Move trunk to 2.3.0-SNAPSHOT
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1229557 13f79535-47bb-0310-9956-ffa450edef68
2012-01-10 14:29:08 +00:00
Donald Woods
6369c744bd
OPENJPA-2083 Unmapped fields silently treated as transient. Patch provided by Jacob Nowosatka.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1226910 13f79535-47bb-0310-9956-ffa450edef68
2012-01-03 18:46:08 +00:00
Pinaki Poddar
857abde46c
Wrong logic in setting default remote commit provider
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1224948 13f79535-47bb-0310-9956-ffa450edef68
2011-12-27 17:12:04 +00:00
Pinaki Poddar
3631ed562e
OPENJPA-2098: Manage context stack in a fail-safe way
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1221807 13f79535-47bb-0310-9956-ffa450edef68
2011-12-21 17:06:11 +00:00
Dianne E. Richards
3f8d02190d
OPENJPA-2081 XML support for about 26 annotations
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1207320 13f79535-47bb-0310-9956-ffa450edef68
2011-11-28 15:44:58 +00:00
Richard G. Curtis
5d6533ef7e
OPENJPA-2075: Add depricated constructor.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1203869 13f79535-47bb-0310-9956-ffa450edef68
2011-11-18 21:49:47 +00:00
Richard G. Curtis
04cbc68544
OPENJPA-2075: Update eol prop.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1203338 13f79535-47bb-0310-9956-ffa450edef68
2011-11-17 19:17:37 +00:00
Richard G. Curtis
d52e73f024
OPENJPA-2075: Abstract parameter handling from QueryImpl.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1203337 13f79535-47bb-0310-9956-ffa450edef68
2011-11-17 19:13:07 +00:00
Kevin W. Sutter
db9849db29
OPENJPA-2070. Clean up the processing in the MetamodelImpl.populate() method. The exception processing and messaging were not correct/accurate. Also, changed the testcase slightly to allow for the error checking when needed.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1200884 13f79535-47bb-0310-9956-ffa450edef68
2011-11-11 13:52:39 +00:00
Richard G. Curtis
3d5b44956d
OPENJPA-2057: Reverting previous commits.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1197994 13f79535-47bb-0310-9956-ffa450edef68
2011-11-05 17:17:26 +00:00
Pinaki Poddar
31e00f7d76
OPENJPA-2057: Change classloading scheme
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1194953 13f79535-47bb-0310-9956-ffa450edef68
2011-10-29 17:55:26 +00:00
Pinaki Poddar
2bee63d702
OPENJPA-2057: Change classloading scheme
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1194905 13f79535-47bb-0310-9956-ffa450edef68
2011-10-29 15:26:44 +00:00
Pinaki Poddar
3494fab794
OPENJPA-2057: Change classloading scheme
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1190716 13f79535-47bb-0310-9956-ffa450edef68
2011-10-29 00:44:11 +00:00
Albert Lee
548375287a
Fixed message format errors.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1190050 13f79535-47bb-0310-9956-ffa450edef68
2011-10-27 21:50:38 +00:00
Albert Lee
1e4a05c6db
OPENJPA-2059 Add message file used by SourceCode.java
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1188852 13f79535-47bb-0310-9956-ffa450edef68
2011-10-25 18:44:51 +00:00
Albert Lee
16c76a0870
OPENJPA-2060 Fixed all three reported problems described in JIRA
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1183674 13f79535-47bb-0310-9956-ffa450edef68
2011-10-15 17:25:04 +00:00
Kevin W. Sutter
c7c8eb2fc1
OPENJPA-2044. Updating the processing for the openjpa.header parameter on the AnnotationProcessor6 code. Not only to read the actual data (vs a String representation of the URL stream), but also to make it more flexible on the number of lines contained in the designated header file.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1182512 13f79535-47bb-0310-9956-ffa450edef68
2011-10-12 18:28:26 +00:00
Jeremy Bauer
236f409a91
OPENJPA-2053 Added property to enable proper OSGi service tracking of the OpenJPA provider.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1177327 13f79535-47bb-0310-9956-ffa450edef68
2011-09-29 15:05:08 +00:00
Pinaki Poddar
3cfadba263
Relocate org.apache.openjpa.jdbc.kernel.MixedLockManager configuration to JDBC product derivation
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1161288 13f79535-47bb-0310-9956-ffa450edef68
2011-08-24 21:32:22 +00:00
Albert Lee
49f069f268
Refactor/remove unused imports.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1159795 13f79535-47bb-0310-9956-ffa450edef68
2011-08-19 22:06:29 +00:00
Richard G. Curtis
29213af88a
OPENJPA-1803: Fix EM.unwrap(java.sql.Connection.class) to account for a non-jdbc(sql) backed store.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1155500 13f79535-47bb-0310-9956-ffa450edef68
2011-08-09 19:17:07 +00:00
Michael Dick
ff4dc0c5ce
OPENJPA-2025: Generate SingularAttribute for unannotated arrays, ListAttribute will be used for @PersistentCollections.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1143520 13f79535-47bb-0310-9956-ffa450edef68
2011-07-06 18:18:43 +00:00
Michael Dick
928aa703cb
OPENJPA-2027: Use SingularAttribute for unannotated arrays. ListAttribute for @PersistentCollections
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1143519 13f79535-47bb-0310-9956-ffa450edef68
2011-07-06 18:17:36 +00:00
Milosz Tylenda
8a85ffb402
OPENJPA-487: Simplify generated SQL for SUBSTRING and LOCATE JPQL functions by switching from JDO style to JPA style in expressions. SUBSTRING parameters are still inlined to support grouping by SUBSTRING.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1142426 13f79535-47bb-0310-9956-ffa450edef68
2011-07-03 12:32:03 +00:00
Pinaki Poddar
bfa48697eb
OPENJPA-2024: Ignore non-canonical fields during metamodel assignment
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1141583 13f79535-47bb-0310-9956-ffa450edef68
2011-06-30 15:52:11 +00:00
Pinaki Poddar
31c0249e14
OPENJPA-2017: Adding DEATCH.NONE option. Retry commit after local test run
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1141556 13f79535-47bb-0310-9956-ffa450edef68
2011-06-30 14:54:31 +00:00
Richard G. Curtis
053d81db95
OPENJPA-1803: Add support for obtaining a connection via EntityManager.unwrap. Patch contributed by Sebastian Laskawiec.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1138059 13f79535-47bb-0310-9956-ffa450edef68
2011-06-21 15:46:46 +00:00
Michael Dick
cd486f73f5
OPENJPA-2017: Comment out constant count for AutoDetach - less error prone than storing an offset.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1137728 13f79535-47bb-0310-9956-ffa450edef68
2011-06-20 18:15:10 +00:00
Pinaki Poddar
f054aa705b
OPENJPA-2017: Modify test to adjust for changes in AutoDetach constant
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1137659 13f79535-47bb-0310-9956-ffa450edef68
2011-06-20 15:25:12 +00:00
Michael Dick
f0fbbaa26a
OPENJPA-2017: Changes cause test failures in openjpa-lib. Reverting for now.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1137645 13f79535-47bb-0310-9956-ffa450edef68
2011-06-20 14:54:58 +00:00
Pinaki Poddar
9be9d836c4
OPENJPA-2017: Introduce AutoDetach.NONE option to improve batch insert operation
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1135776 13f79535-47bb-0310-9956-ffa450edef68
2011-06-14 20:18:20 +00:00
Heath Thomann
e9dd20c9e9
OPENJPA-1999: Optional support for non-sequential positional parameters - made additional changes, per Mike Dick, to QueryImpl ctor.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1134463 13f79535-47bb-0310-9956-ffa450edef68
2011-06-10 22:20:41 +00:00
Heath Thomann
cabf34a6fd
OPENJPA-1999: Optional support for non-sequential positional parameters - used Rick's provided patch for trunk.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1134128 13f79535-47bb-0310-9956-ffa450edef68
2011-06-09 23:16:09 +00:00
Michael Dick
8ef3f3db35
OPENJPA-2011: Optionally prevent reparsing annotations in in query mode.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1133900 13f79535-47bb-0310-9956-ffa450edef68
2011-06-09 14:49:11 +00:00
Michael Dick
0bcded74e1
OPENJPA-2010: Check line number and source file before logging duplicate meta data warning
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1133546 13f79535-47bb-0310-9956-ffa450edef68
2011-06-08 20:19:03 +00:00
Richard G. Curtis
862e818e50
OPENJPA-1989: Flip FeildMetaData.DefaultFetchGroupExplicit flag when parsing ToOne xml relationships.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1101951 13f79535-47bb-0310-9956-ffa450edef68
2011-05-11 16:19:04 +00:00
Jody Grassel
6fc7d55a09
OPENJPA-1993: Deadlock Potential with XML ORM Processing
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1100363 13f79535-47bb-0310-9956-ffa450edef68
2011-05-06 20:22:23 +00:00
Richard G. Curtis
d450910b0a
OPENJPA-1989: Fix *ToOne xml fetch attribute to honor LAZY.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1097517 13f79535-47bb-0310-9956-ffa450edef68
2011-04-28 16:00:58 +00:00
Michael Dick
76552a11fd
remove casts for broker factory aliases
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1096876 13f79535-47bb-0310-9956-ffa450edef68
2011-04-26 19:54:27 +00:00
Pinaki Poddar
f1c1c78787
OPENJPA-1662: Save a runtime typecast.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1084944 13f79535-47bb-0310-9956-ffa450edef68
2011-03-24 13:14:33 +00:00
Albert Lee
0c37fc6e57
OPENJPA-1943 - Apply query timeout value to pessimistic row lock statement execution.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1072061 13f79535-47bb-0310-9956-ffa450edef68
2011-02-18 16:59:16 +00:00
Michael Dick
bc5e826b45
Remove empty finally block
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1071619 13f79535-47bb-0310-9956-ffa450edef68
2011-02-17 14:32:46 +00:00
Pinaki Poddar
b1b503e136
OPENJPA-1050: Generics for extent
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1069984 13f79535-47bb-0310-9956-ffa450edef68
2011-02-11 23:34:15 +00:00
Michael Dick
c415857292
OPENJPA-1593: Add OSGi managed runtime.
...
Submitted By: Wolfgang Glas
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1068588 13f79535-47bb-0310-9956-ffa450edef68
2011-02-08 21:28:30 +00:00
Michael Dick
af080beed3
OPENJPA-1937: update javadoc for evict methods on OpenJPAEntityManager.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1068553 13f79535-47bb-0310-9956-ffa450edef68
2011-02-08 20:26:37 +00:00
Jeremy Bauer
8695d9f54f
Updated messages to use standard double quotes around literals
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1062894 13f79535-47bb-0310-9956-ffa450edef68
2011-01-24 17:33:48 +00:00
Pinaki Poddar
212740ea77
Correct JavaDoc
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1061583 13f79535-47bb-0310-9956-ffa450edef68
2011-01-21 00:07:50 +00:00
Richard G. Curtis
c8b5c8350e
OPENJPA-1910: Update PersistenceProviderImpl to use different classloader when running in osgi.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1057817 13f79535-47bb-0310-9956-ffa450edef68
2011-01-11 19:28:34 +00:00
Richard G. Curtis
aae0ccfc3a
OPENJPA-1906: Fix message so that variable substitution works.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1052116 13f79535-47bb-0310-9956-ffa450edef68
2010-12-23 00:18:04 +00:00
Michael Dick
1ac8dd4058
OPENNJPA-1906 adding warning when connection retain mode is used with container managed EMFs
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1045397 13f79535-47bb-0310-9956-ffa450edef68
2010-12-13 22:32:20 +00:00
Jody Grassel
3de119f57a
OPENJPA-1905: Validate jar-file pu element after confirming OpenJPA is chosen provider
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1045296 13f79535-47bb-0310-9956-ffa450edef68
2010-12-13 18:54:57 +00:00
Jeremy Bauer
b56fcf3287
OPENJPA-1884 Updated entity manager impl to process cache store mode property provided on refresh method and updated data cache manager to refresh the L2 properly when a store mode is provided.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1042698 13f79535-47bb-0310-9956-ffa450edef68
2010-12-06 16:09:08 +00:00
Michael Dick
2cc69063aa
[maven-release-plugin] prepare release 2.1.x
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1040584 13f79535-47bb-0310-9956-ffa450edef68
2010-11-30 15:30:48 +00:00
Richard G. Curtis
8cfea1bd5f
OPENJPA-1866: Add missing break to AnnotationPersistenceMetaDataSerializer. Patch contributed by Guy Korland.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1037006 13f79535-47bb-0310-9956-ffa450edef68
2010-11-19 20:21:20 +00:00
Pinaki Poddar
ea5db0fbb3
OPENJPA-1889: Relax binding query parameter type checks for enums
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1035884 13f79535-47bb-0310-9956-ffa450edef68
2010-11-17 00:38:17 +00:00
Fay Wang
0836fba158
OPENJPA-1762: lock join table when pessimistic scope is set to EXTENDED
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1032686 13f79535-47bb-0310-9956-ffa450edef68
2010-11-08 20:10:45 +00:00
Fay Wang
ad98d444e1
OPENJPA-1810: make QueryKey distinguishable for CriteriaQuery
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1031244 13f79535-47bb-0310-9956-ffa450edef68
2010-11-04 21:03:23 +00:00
Richard G. Curtis
36ed1fe1be
OPENJPA-1851: Backing changes out of trunk while we continue to develop this feature in a sandbox.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1030481 13f79535-47bb-0310-9956-ffa450edef68
2010-11-03 14:59:47 +00:00
Richard G. Curtis
2f6baf7119
OPENJPA-1851: Backing changes out of trunk while we continue to develop this feature in a sandbox.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1030479 13f79535-47bb-0310-9956-ffa450edef68
2010-11-03 14:51:28 +00:00
Richard G. Curtis
b24d729deb
OPENJPA-1868: Miscellaneous FindBugs suggested performance improvements for lib, persistence, and persistence-jdbc.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1030172 13f79535-47bb-0310-9956-ffa450edef68
2010-11-02 18:50:13 +00:00
Richard G. Curtis
51dad64253
OPENJPA-1865: Findbugs. Use entrySet iterator rather than keySet. Patch contributed by Guy Korland.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1030083 13f79535-47bb-0310-9956-ffa450edef68
2010-11-02 15:18:10 +00:00
Pinaki Poddar
bfdfa49810
OPENJPA-1851: name the request handler thread
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1028470 13f79535-47bb-0310-9956-ffa450edef68
2010-10-28 20:50:05 +00:00
Donald Woods
9230486ff7
OPENJPA-1318 Incorrect hashcode()/equals() implementation(s) for ExtentImpl. Patch contributed by Heath Thomann.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1028452 13f79535-47bb-0310-9956-ffa450edef68
2010-10-28 19:58:31 +00:00
Donald Woods
06a1b71cbf
OPENJPA-1317 Incorrect hashcode()/equals() implementation(s) for FetchPlanImpl. Patch contributed by Heath Thomann.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1028365 13f79535-47bb-0310-9956-ffa450edef68
2010-10-28 16:12:12 +00:00
Pinaki Poddar
3598d38ffc
OPENJPA-1851: Add URI to JEST server. Change parameter separator to &
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1028291 13f79535-47bb-0310-9956-ffa450edef68
2010-10-28 13:35:14 +00:00
Kevin W. Sutter
c47965d889
OPENJPA-1851. The @Override was getting flagged as an error in Eclipse's sensitive error checking...
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1028127 13f79535-47bb-0310-9956-ffa450edef68
2010-10-27 22:31:34 +00:00
Pinaki Poddar
3f8bff4331
OPENJPA-1851: First version of JEST (REST on OpenJPA)
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1028093 13f79535-47bb-0310-9956-ffa450edef68
2010-10-27 20:42:44 +00:00
Richard G. Curtis
daa090c11b
OPENJPA-1855: Log warning if javax.persistence.cache.retrieve/storeMode is used incorrectly.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1028064 13f79535-47bb-0310-9956-ffa450edef68
2010-10-27 18:39:53 +00:00
Donald Woods
3b65de0765
OPENJPA-1316 Incorrect hashcode()/equals() implementation(s) in GeneratorImpl. Patch contributed by Heath Thomann.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1027992 13f79535-47bb-0310-9956-ffa450edef68
2010-10-27 15:01:16 +00:00
Donald Woods
dcf503dd5a
OPENJPA-1314 Incorrect hashcode()/equals() implementation(s) in QueryResultCacheImpl. Patch contributed by Heath Thomann.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1027984 13f79535-47bb-0310-9956-ffa450edef68
2010-10-27 14:50:26 +00:00
Donald Woods
57e94f648c
OPENJPA-1311 Incorrect hashcode()/equals() implementation(s). Contributed by Heath Thomann.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1027731 13f79535-47bb-0310-9956-ffa450edef68
2010-10-26 20:22:27 +00:00
Richard G. Curtis
f4fc93c128
OPENJPA-1807: Add trace to EM/EMF create/close path.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@999077 13f79535-47bb-0310-9956-ffa450edef68
2010-09-20 19:28:46 +00:00
Jeremy Bauer
9c3364d5c9
Removing duplicate message
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@987552 13f79535-47bb-0310-9956-ffa450edef68
2010-08-20 15:43:34 +00:00
Donald Woods
560afb7df4
OPENJPA-1712 Merge in build updates from 2.0.x branch
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@987238 13f79535-47bb-0310-9956-ffa450edef68
2010-08-19 17:31:55 +00:00
Richard G. Curtis
157c6e689f
OPENJPA-1763: Fix checkstyle error.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@986845 13f79535-47bb-0310-9956-ffa450edef68
2010-08-18 18:34:39 +00:00
Richard G. Curtis
bf9a1edd69
OPENJPA-1763: Refactoring original change.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@986841 13f79535-47bb-0310-9956-ffa450edef68
2010-08-18 18:30:18 +00:00
Catalina Wei
3750cd1f6d
OPENJPA-940: Using table-generator in XML descriptor results in ClassCastException
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@986518 13f79535-47bb-0310-9956-ffa450edef68
2010-08-17 22:59:18 +00:00
Donald Woods
bcfadcff1b
OPENJPA-1712 Fix creation of test artifacts, so they get signed during -Papache-release deploys to nexus repo
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@983040 13f79535-47bb-0310-9956-ffa450edef68
2010-08-06 16:22:21 +00:00
Michael Dick
e97e42b3eb
OPENJPA-1749: Throw exception when incompatible configuration options are set
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@980070 13f79535-47bb-0310-9956-ffa450edef68
2010-07-28 14:30:05 +00:00
Pinaki Poddar
a18edf3f92
OPENJPA-1746: Allow null values for configuration
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@979427 13f79535-47bb-0310-9956-ffa450edef68
2010-07-26 20:19:52 +00:00
Pinaki Poddar
40e05de742
OPENJPA-1746: Allow null values for persistent unit configuration.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@979426 13f79535-47bb-0310-9956-ffa450edef68
2010-07-26 20:18:22 +00:00
Michael Dick
ebd30a7cc7
OPENJPA-1742: move cfName logic to JDBCConfiguration, add tests for nonJTADataSource
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@966600 13f79535-47bb-0310-9956-ffa450edef68
2010-07-22 11:57:45 +00:00
Fay Wang
f8c32d45d2
OPENJPA-1726: fix Criteria Trim expression when running on Postgres.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@965575 13f79535-47bb-0310-9956-ffa450edef68
2010-07-19 18:26:13 +00:00
Albert Lee
b4782910c5
OPENJPA-1733 - use exception toString() if exception message returns null.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@965573 13f79535-47bb-0310-9956-ffa450edef68
2010-07-19 18:12:43 +00:00
Albert Lee
4d5d3a6aed
OPENJPA-1713 correct the push/pop clean up processing in EntityManagerImpl _plans map.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@959352 13f79535-47bb-0310-9956-ffa450edef68
2010-06-30 15:37:17 +00:00
Richard G. Curtis
a88939693b
OPENJPA-1701: Remove warning message from EntityManager.refresh(...) method.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@957709 13f79535-47bb-0310-9956-ffa450edef68
2010-06-24 20:43:19 +00:00
Richard G. Curtis
14cfcaa3cc
OPENJPA-1692: Clean up extra initialization from PersistenceProviderImpl.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@954891 13f79535-47bb-0310-9956-ffa450edef68
2010-06-15 14:04:26 +00:00
Pinaki Poddar
3865aedfaa
OPENJPA-1686: Upgrade to Java runtime version 5. Remove reflection.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@954678 13f79535-47bb-0310-9956-ffa450edef68
2010-06-15 00:09:17 +00:00
Pinaki Poddar
a873065db7
OPENJPA-1686: A first draft of support for generic graph. Correct mapping strategy on MappedSuperClass (they are not Embeddables)
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@952893 13f79535-47bb-0310-9956-ffa450edef68
2010-06-09 02:43:46 +00:00
Jeremy Bauer
9d33fe34b8
OPENJPA-1685 Updated ValidatorImpl to remove potential whitespace within a comma separated list of validation groups.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@952730 13f79535-47bb-0310-9956-ffa450edef68
2010-06-08 16:41:27 +00:00
Donald Woods
f0517dd09c
add missing ASL 2.0 header
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@951487 13f79535-47bb-0310-9956-ffa450edef68
2010-06-04 16:47:10 +00:00
Pinaki Poddar
52402f1083
Missing error text for usage of named parameters in native SQL
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@947016 13f79535-47bb-0310-9956-ffa450edef68
2010-05-21 14:14:44 +00:00
Richard G. Curtis
3d5bfca72c
OPENJPA-1563: Fix StackOverlfowError in JPAFacadeHelper.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@945172 13f79535-47bb-0310-9956-ffa450edef68
2010-05-17 14:10:30 +00:00
Pinaki Poddar
85ba2eada3
OPENJPA-1662: Remove usage of @Replicated annotation. Replace with openjpa.slice.ReplicatedTypes plug-in.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@943294 13f79535-47bb-0310-9956-ffa450edef68
2010-05-11 21:09:17 +00:00
Richard G. Curtis
ee299cc0bd
OPENJPA-1646: Move DataCacheManager initialization to EMF creation time to close timing window.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@940490 13f79535-47bb-0310-9956-ffa450edef68
2010-05-03 15:55:16 +00:00
Richard G. Curtis
78614963a0
OPENJPA-1634: Process JAXB metadata when preloading the MetaDataRepository.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@940093 13f79535-47bb-0310-9956-ffa450edef68
2010-05-01 19:00:23 +00:00
Richard G. Curtis
00799c73f0
OPENJPA-1563: Update JPAFacadeHelper.toOpenJPAObjectId(...) to perform validation on parameters.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@940077 13f79535-47bb-0310-9956-ffa450edef68
2010-05-01 16:53:56 +00:00
Donald Woods
94cc84d768
update license files to include full CDDL+GPL license text for persistence schemas, even though we're choosing CDDL. this was based on recent discussions between legal-discuss@apache, Aries and Geronimo projects.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@939892 13f79535-47bb-0310-9956-ffa450edef68
2010-05-01 01:16:12 +00:00
Pinaki Poddar
d43fea80d8
OPENJPA-1643: Parse connection factory name. Add a constructor for serializability. Make CriteriaQuery sharable among slices.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@939125 13f79535-47bb-0310-9956-ffa450edef68
2010-04-28 22:47:15 +00:00
Jeremy Bauer
90355300bb
OPENJPA-1604 Added Optimistic check as part the logic for setting the default lock mode for named queries in order to retain 1.x behavior.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@938203 13f79535-47bb-0310-9956-ffa450edef68
2010-04-26 19:34:34 +00:00
Jeremy Bauer
7425ffca2d
OPENJPA-1613 Per JPA spec, OpenJPA should take the @Transient annotation into account when making a default access determination. This commit includes test code contributed by Simon Droscher.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@936930 13f79535-47bb-0310-9956-ffa450edef68
2010-04-22 16:12:50 +00:00
Pinaki Poddar
72b145a562
OPENJPA-703: Ignore prepared query if query using locks
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@935231 13f79535-47bb-0310-9956-ffa450edef68
2010-04-17 19:10:15 +00:00
Pinaki Poddar
296752741e
OPENJPA-1628: Usability changes
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@934507 13f79535-47bb-0310-9956-ffa450edef68
2010-04-15 18:25:46 +00:00
Richard G. Curtis
f90b0bb16f
OPENJPA-1631: Add synchronization to AnnotationPersistenceXMLMetaDataParser.parse() method to make it thread safe.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@934100 13f79535-47bb-0310-9956-ffa450edef68
2010-04-14 18:37:14 +00:00
Pinaki Poddar
85b89a8701
OPENJPA-1628,OPENJPA-1187,OPENJPA-1622: Use javac's -s option to control output rather than extraneous -Aout option
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@933342 13f79535-47bb-0310-9956-ffa450edef68
2010-04-12 18:12:49 +00:00
Pinaki Poddar
ce0ffe84f2
OPENJPA-1662: Add openjpa. prefix to Annotation Processor -A options
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@932545 13f79535-47bb-0310-9956-ffa450edef68
2010-04-09 18:56:33 +00:00
Pinaki Poddar
6ccd59c32b
OPENJPA-1662: Add openjpa. prefix to Annotation Processor -A options
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@932544 13f79535-47bb-0310-9956-ffa450edef68
2010-04-09 18:55:31 +00:00
Donald Woods
aa0ba90782
OPENJPA-1622 Move services file out of the builds and into the packaging jars
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@932539 13f79535-47bb-0310-9956-ffa450edef68
2010-04-09 18:38:02 +00:00
Pinaki Poddar
f95ac63c8b
OPENJPA-1622: Support discovery. But hide by default. Add boolean flag -Aopenjpa.generate to activate
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@932507 13f79535-47bb-0310-9956-ffa450edef68
2010-04-09 16:51:08 +00:00
Pinaki Poddar
cfe2a0d236
OPENJPA-1622: Support discovery. But hide by default. Add boolean flag -Aopenjpa.generate to activate
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@932480 13f79535-47bb-0310-9956-ffa450edef68
2010-04-09 16:06:19 +00:00
Pinaki Poddar
f8b8ce8eb0
Remove commented lines. Add proper comments
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@932206 13f79535-47bb-0310-9956-ffa450edef68
2010-04-09 00:54:24 +00:00
Richard G. Curtis
43988aba97
OPENJPA-1604: Override default lock level for NamedQueries when using the pessimistic lock manager. Code contributed by Pinaki Poddar and Rick Curtis
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@932094 13f79535-47bb-0310-9956-ffa450edef68
2010-04-08 20:32:36 +00:00
Pinaki Poddar
db11713e8c
OPENJPA-1618: Convert the value not the key
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@932054 13f79535-47bb-0310-9956-ffa450edef68
2010-04-08 18:35:56 +00:00
Richard G. Curtis
59cdb21326
OPENJPA-1604: Backing out the two previous commits while investigating a couple test failures.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@930957 13f79535-47bb-0310-9956-ffa450edef68
2010-04-05 20:48:54 +00:00
Fay Wang
670d59ef0f
OPENJPA-1611: fix EMBEDDED attr type
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@930721 13f79535-47bb-0310-9956-ffa450edef68
2010-04-04 17:28:52 +00:00
Pinaki Poddar
e36547dafc
OPENJPA-1604: Test for lock mode on named query and its impact on target SQL under pessimistic lock manager plus some usability changes. Does not restore backward compatibility with 1.2 behavior -- but removes the need to set the fecth plan hint etc and ensures named query lock mode other than NONE requires an active transaction.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@930049 13f79535-47bb-0310-9956-ffa450edef68
2010-04-01 17:23:46 +00:00
Pinaki Poddar
6f6e94df76
OPENJPA-1604: Add lock mode to QueryMetaData
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@929971 13f79535-47bb-0310-9956-ffa450edef68
2010-04-01 13:44:38 +00:00
Pinaki Poddar
b1a2190cf3
OPENJPA-1602: Ignore prepared queries that use locks
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@928897 13f79535-47bb-0310-9956-ffa450edef68
2010-03-29 20:30:58 +00:00
Donald Woods
c0ad7b61a7
OPENJPA-1597 Add openjpa.Compatibility option IgnoreDetachedStateFieldForProxySerialization which 2.0 apps can set to true to fall back to 1.0 behavior and defaults 1.0 apps to old behavior of not removing classes after EM.clear() is called.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@928128 13f79535-47bb-0310-9956-ffa450edef68
2010-03-27 03:12:07 +00:00
Albert Lee
0010c931cf
OPENJPA-1599 - Retain em method user input property map content from modifications.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@927629 13f79535-47bb-0310-9956-ffa450edef68
2010-03-25 22:53:12 +00:00
Albert Lee
048ffd924d
OPENJPA-1599 - Push Cache*Mode value(s) in fetch configuration set from property making the property value(s) only valid during the em method call.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@927441 13f79535-47bb-0310-9956-ffa450edef68
2010-03-25 15:08:55 +00:00
Michael Dick
666ec6c6de
OPENJPA-1550:
...
Set failedObject on RollbackException.
Submitted By: Heath Thomann
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@927267 13f79535-47bb-0310-9956-ffa450edef68
2010-03-25 03:55:43 +00:00
Donald Woods
b5b65a7d4b
[maven-release-plugin] prepare release 2.0.x
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@926437 13f79535-47bb-0310-9956-ffa450edef68
2010-03-23 02:27:40 +00:00
Kevin W. Sutter
43c4cff942
OPENJPA-1588. Removed the processing of the CacheStoreMode property from the convertToKernelValue method. Also, corrected the spelling of this method.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@925703 13f79535-47bb-0310-9956-ffa450edef68
2010-03-21 00:19:27 +00:00
Pinaki Poddar
1b9d80003a
Allow user to set the cache mode enum values on EntityManager.setProperty() by String
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@925451 13f79535-47bb-0310-9956-ffa450edef68
2010-03-19 21:55:44 +00:00
Pinaki Poddar
73b7d4748b
OPENJPA-1491: Add OpenJPA-OSGi package description.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@925293 13f79535-47bb-0310-9956-ffa450edef68
2010-03-19 16:05:36 +00:00
Michael Dick
bd9b59c90f
OPENJPA-1581:
...
make assertOpen public and call assertOpen before returning JPA cache
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@924868 13f79535-47bb-0310-9956-ffa450edef68
2010-03-18 15:44:25 +00:00
Pinaki Poddar
1b20902b50
OPENJPA-1565,OPENJPA-1578:
...
Modify tests to raise correct lock/query exception
Fill in details in exception
Use retreive mode while initializing not store mode
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@924626 13f79535-47bb-0310-9956-ffa450edef68
2010-03-18 03:42:50 +00:00
Pinaki Poddar
63079316a0
THrow IllegalArg exception on null argument
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@924518 13f79535-47bb-0310-9956-ffa450edef68
2010-03-17 22:11:02 +00:00
Pinaki Poddar
992ba73a71
OPENJPA-1565: Raise correct Query/LockTimeout exception
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@923928 13f79535-47bb-0310-9956-ffa450edef68
2010-03-16 18:39:02 +00:00
Jeremy Bauer
6d87bbdbb0
OPENJPA-1562 Committing code and test updates contributed by Dianne Richards. Refresh after remove was not throwing exception dictated by spec.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@923849 13f79535-47bb-0310-9956-ffa450edef68
2010-03-16 16:32:14 +00:00
Pinaki Poddar
845f9b5018
OPENJPA-1578: Set CacheMode properties properly
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@923755 13f79535-47bb-0310-9956-ffa450edef68
2010-03-16 14:30:53 +00:00
Donald Woods
7c748e62df
OPENJPA-1491 When used in an OSGi environment with Apache Aries, the org.apache.openjpa.kernel.Bootstrap should use the OpenJPA bundle classloader instead of the application bundle classloader to instatiate a BrokerFactory. Also moved our BundleActivator from the openjpa module to openjpa-persistence module with a BundleUtils wrapper to remove direct OSGi class refs, so the BundleContext in it could be accessed by PersistenceProviderImpl.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@922397 13f79535-47bb-0310-9956-ffa450edef68
2010-03-12 19:05:30 +00:00
Pinaki Poddar
4be5a5a194
OPENJPA-1565: Raise correct time out exception
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@922288 13f79535-47bb-0310-9956-ffa450edef68
2010-03-12 15:08:16 +00:00
Pinaki Poddar
572d593427
OPENJPA-1561: Cache criteria query
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@922123 13f79535-47bb-0310-9956-ffa450edef68
2010-03-12 02:35:03 +00:00
Pinaki Poddar
f0f89c7e0e
OPENJPA-1561: Cache criteria query
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@922119 13f79535-47bb-0310-9956-ffa450edef68
2010-03-12 02:25:52 +00:00
Fay Wang
f69da24268
OPENJPA-1505: allow duplicate entity listeners to be configurable
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@921538 13f79535-47bb-0310-9956-ffa450edef68
2010-03-10 20:05:09 +00:00
Pinaki Poddar
5cb14fe384
OPENJPA-1053:: unwrap() query failure to throw correct exception and set rollback
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@920981 13f79535-47bb-0310-9956-ffa450edef68
2010-03-09 16:54:55 +00:00
Michael Dick
c58af533fb
OPENJPA-1178:
...
Remove uneeded imports
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@920540 13f79535-47bb-0310-9956-ffa450edef68
2010-03-08 22:07:27 +00:00
Michael Dick
62092d763a
OPENJPA-1118:
...
Remove Numbers.valueOf() - prefer autoboxing
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@920503 13f79535-47bb-0310-9956-ffa450edef68
2010-03-08 20:43:37 +00:00
Donald Woods
14996dfd40
OPENJPA-1360 ReverseMappingTool omits nullable, length, etc. when ClassMapping.setEmbedded(true) is called
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@920464 13f79535-47bb-0310-9956-ffa450edef68
2010-03-08 19:20:32 +00:00
Albert Lee
04b5e77c9e
Removed un-used import.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@920028 13f79535-47bb-0310-9956-ffa450edef68
2010-03-07 16:37:50 +00:00
Albert Lee
1c992feeb7
OPENJPA-1552 Add proper QueryImpl creation in EntityManagerImpl subclass.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@920024 13f79535-47bb-0310-9956-ffa450edef68
2010-03-07 16:16:06 +00:00
Michael Dick
4dc0267629
OPENJPA-1551:
...
Storing connectionFactoryName in BrokerImpl - this factory will be used at JDBCStore creation time to override the value from the configuration
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@919557 13f79535-47bb-0310-9956-ffa450edef68
2010-03-05 19:35:53 +00:00
Pinaki Poddar
a7d613f3bf
Categorize one-to-one correctly
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@919502 13f79535-47bb-0310-9956-ffa450edef68
2010-03-05 17:06:29 +00:00
Pinaki Poddar
1950c467f7
toString() returns a JPQL-like query string, if possible. Otherwise Object.toString()
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@919501 13f79535-47bb-0310-9956-ffa450edef68
2010-03-05 17:06:02 +00:00
Pinaki Poddar
e71cd295fc
OPENJPA-1503: Throw persistence exception not illegalargument exception as per spec when fails to unwrap()
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@918748 13f79535-47bb-0310-9956-ffa450edef68
2010-03-03 22:50:55 +00:00
Donald Woods
3aea82e40c
OPENJPA-1546 OpenJPA doesn't work as internal JPA inside web applicaion in JBoss AS due to PersistenceMetaDataFactory trying to parse directories as unparsed XML files. Original patch contributed by Dmitri Babaev.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@918070 13f79535-47bb-0310-9956-ffa450edef68
2010-03-02 15:17:18 +00:00
Donald Woods
d96883f502
OPENJPA-1538 Minor grammar fixes in messages. Patch contributed by Cathy Nordstrom.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@916759 13f79535-47bb-0310-9956-ffa450edef68
2010-02-26 17:04:35 +00:00
Donald Woods
0befad7051
[maven-release-plugin] prepare for next development iteration
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@915979 13f79535-47bb-0310-9956-ffa450edef68
2010-02-24 21:04:54 +00:00
Donald Woods
099d18901e
[maven-release-plugin] prepare release 2.0.0-beta2
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@915977 13f79535-47bb-0310-9956-ffa450edef68
2010-02-24 21:04:42 +00:00
Donald Woods
fb57d61322
OPENJPA-1490 Add new message for pending Aries changes
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@915900 13f79535-47bb-0310-9956-ffa450edef68
2010-02-24 17:59:43 +00:00
Albert Lee
fa4b72d7f5
OPENJPA-1498 - Commit contribution by Cathy Nordstrom.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@915439 13f79535-47bb-0310-9956-ffa450edef68
2010-02-23 17:10:18 +00:00
Kevin W. Sutter
b44715211e
OPENJPA-1516. Introduce prepareForPooling method on EntityManagerImpl to allow for more efficient EntityManager "clear" operations. This also allows to go outside of the spec just a bit and clean up resources before pooling as well.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@915015 13f79535-47bb-0310-9956-ffa450edef68
2010-02-22 18:53:45 +00:00
Donald Woods
f738b0ba62
OPENJPA-1520 remove jdk5 profile
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@911520 13f79535-47bb-0310-9956-ffa450edef68
2010-02-18 18:44:57 +00:00
Pinaki Poddar
c043302e1e
OPENJPA-1503: Set txn for rollback directly on illegal argument
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@911241 13f79535-47bb-0310-9956-ffa450edef68
2010-02-18 01:28:00 +00:00
Pinaki Poddar
ad106583e8
OPENJPA-1503:Metamodel reflection with security manager
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@910616 13f79535-47bb-0310-9956-ffa450edef68
2010-02-16 17:44:30 +00:00
Fay Wang
4a987190d9
OPENJPA-1460: resolve visibility scope of orm.xml
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@908621 13f79535-47bb-0310-9956-ffa450edef68
2010-02-10 18:23:59 +00:00
Donald Woods
d3b3ee0438
OPENJPA-1502 Improve WARN msg for unrecognized EntityManager properties
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@908071 13f79535-47bb-0310-9956-ffa450edef68
2010-02-09 15:23:16 +00:00
Michael Dick
69c5eb11ff
OPENJPA-1498. Minor message file improvements
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@906993 13f79535-47bb-0310-9956-ffa450edef68
2010-02-05 16:37:54 +00:00
Pinaki Poddar
784e4560db
OPENJPA-960: Block unwrap for Object.class or null argument
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@905355 13f79535-47bb-0310-9956-ffa450edef68
2010-02-01 18:28:18 +00:00
Fay Wang
7aad95a75b
OPENJPA-1485: null collection value can still be treated as loaded.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@904728 13f79535-47bb-0310-9956-ffa450edef68
2010-01-30 04:46:42 +00:00
Fay Wang
54ef07f799
OPENJPA-1485: fix potential classCast exception for StateManagerImpl
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@903964 13f79535-47bb-0310-9956-ffa450edef68
2010-01-28 05:53:47 +00:00
Fay Wang
4197457c85
OPENJPA-1485: isLoaded util method should return true for an entity when an unloaded basic type is not in the fetch plan.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@903914 13f79535-47bb-0310-9956-ffa450edef68
2010-01-28 00:04:31 +00:00
Jeremy Bauer
a32573481e
OPENJPA-1485 Check persistent collection attributes for null when determining load state.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@903812 13f79535-47bb-0310-9956-ffa450edef68
2010-01-27 19:57:59 +00:00
Donald Woods
9c90ca5506
merged in r902968 from beta branch
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@902988 13f79535-47bb-0310-9956-ffa450edef68
2010-01-25 21:50:14 +00:00
Fay Wang
c15f473949
OPENJPA-1460: back out the previous change until the visibility scope of orm.xml is fully agreed upon.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@902291 13f79535-47bb-0310-9956-ffa450edef68
2010-01-22 22:11:39 +00:00
Donald Woods
d299ac4311
OPENJPA-1410 Undo removal of code that was added by OPENJPA-1460
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@901968 13f79535-47bb-0310-9956-ffa450edef68
2010-01-22 03:34:57 +00:00
Pinaki Poddar
ec8dba1465
OPENJPA-1477: Do not use cached PreparedQuery unless it is initialized
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@901845 13f79535-47bb-0310-9956-ffa450edef68
2010-01-21 20:17:50 +00:00
Donald Woods
acafc94a5e
OPENJPA-1410 Class linkage exception when creating an EMF with OpenJPA M3 caused by ValidationUtils.setupValidation(). First round of cleanup.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@901385 13f79535-47bb-0310-9956-ffa450edef68
2010-01-20 21:24:14 +00:00
Donald Woods
9ea3fe0895
OPENJPA-1374 undo changes to PersistenceProviderImpl.java, which are for OPENJPA-1410 instead
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@901384 13f79535-47bb-0310-9956-ffa450edef68
2010-01-20 21:22:10 +00:00
Donald Woods
2b2ede1e38
OPENJPA-1374 Enable junits to be executed against an in-memory Derby 10.5.3.0 db. Moved common Derby profiles to the parent POM. Added new Derby props in o-p-j which knocked 2 mins off build time. Added a test-derbymem profile to use Derby 10.5.3.0 as in-memory DB, which reduced build time by 5 mins.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@901374 13f79535-47bb-0310-9956-ffa450edef68
2010-01-20 20:53:57 +00:00
Pinaki Poddar
1049796100
OPENJPA-1460: Rename the setter method
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@900873 13f79535-47bb-0310-9956-ffa450edef68
2010-01-19 18:10:30 +00:00
Fay Wang
36e31ae445
OPENJPA-1460: resolve visibility scope of orm.xml.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@900245 13f79535-47bb-0310-9956-ffa450edef68
2010-01-17 23:41:45 +00:00
Fay Wang
7f66117b5a
OPENJPA-782: element collection field in orm.xml should not be serialized
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@900236 13f79535-47bb-0310-9956-ffa450edef68
2010-01-17 22:47:47 +00:00
Jeremy Bauer
fadd48fe5b
OPENJPA-1115 Remaining delimited identifiers support, including pluggable identifier utility. Includes code and test contributions from Dianne Richards.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@899784 13f79535-47bb-0310-9956-ffa450edef68
2010-01-15 19:38:18 +00:00
Pinaki Poddar
db20d8a011
OPENJPA-900: Reduce reflection cost. Enumerate hint keys.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@899530 13f79535-47bb-0310-9956-ffa450edef68
2010-01-15 05:25:25 +00:00
Pinaki Poddar
b5a412fd42
OPENJPA-900: Reduce reflection in hint processing. Redesign with explicit hint keys.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@899529 13f79535-47bb-0310-9956-ffa450edef68
2010-01-15 05:23:15 +00:00
Donald Woods
55bf86a4c8
OPENJPA-1456 Replace StringBuffer usage with StringBuilder for minor performance/scalability improvement
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@898168 13f79535-47bb-0310-9956-ffa450edef68
2010-01-12 03:31:11 +00:00
Richard G. Curtis
0efea474f2
OPENJPA-250: Committing to trunk. Submitted by Patrick Linskey, Simon Droscher, and Rick Curtis.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@898024 13f79535-47bb-0310-9956-ffa450edef68
2010-01-11 19:34:23 +00:00
Pinaki Poddar
775c627b80
OPENJPA-1445: Support enums as External values
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@893504 13f79535-47bb-0310-9956-ffa450edef68
2009-12-23 13:07:33 +00:00
Pinaki Poddar
df5a403700
OPENJPA-1444: distinct query
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@893448 13f79535-47bb-0310-9956-ffa450edef68
2009-12-23 09:35:07 +00:00
Pinaki Poddar
29e919f2cc
OPENJPA-1444: distinct query
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@893447 13f79535-47bb-0310-9956-ffa450edef68
2009-12-23 09:33:28 +00:00
Pinaki Poddar
3dee418d36
OPENJPA-1444: Use special result list for distinct query.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@893420 13f79535-47bb-0310-9956-ffa450edef68
2009-12-23 07:57:31 +00:00
Pinaki Poddar
d491a9cbed
OPENJPA-1439: Cover for InputStream/Reader type fields
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@892884 13f79535-47bb-0310-9956-ffa450edef68
2009-12-21 17:13:23 +00:00
Richard G. Curtis
d8ef5c1792
OPENJPA-993: PersistenceProductDerivation.getAnchorsInxxx(..) should only return PUs that belong to OpenJPA.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@892877 13f79535-47bb-0310-9956-ffa450edef68
2009-12-21 16:44:27 +00:00
Fay Wang
5d9f08e728
OPENJPA-1432: preserve Compatibility flags set in compliance with the Specification.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@892397 13f79535-47bb-0310-9956-ffa450edef68
2009-12-18 23:24:23 +00:00
David Ezzio
a05e007394
OpenJPA-1258: Applied Amy Yang's patch.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@891465 13f79535-47bb-0310-9956-ffa450edef68
2009-12-16 23:02:25 +00:00