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
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
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
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
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
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
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
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
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
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
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
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
4cf336fd95
OPENJPA-2410 : Detect SystemOut/Err in code at build time. Patch submitted by Di Wu Lau.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1504673 13f79535-47bb-0310-9956-ffa450edef68
2013-07-18 21:34:23 +00:00
Albert Lee
5e9ecb0bbe
OPENJPA-2305 Revert AnnotationProcess6 @SupportSourceVersion removal. This will be resolved under JIRA 2300.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1495579 13f79535-47bb-0310-9956-ffa450edef68
2013-06-21 20:13:01 +00:00
Albert Lee
2df7cd6950
OPENJPA-2379 - Revert changes due to following additional failures:
...
Failure TestPersistenceUtil. testNotLoadedEager (org.apache.openjpa.persistence.util) 163ms View trend 1590
Failure TestProviderUtil. testNotLoadedEager (org.apache.openjpa.persistence.util) 79ms View trend 1378
Failure TestProviderUtil. testNotLoadedLazy (org.apache.openjpa.persistence.util) 61ms View trend 1376
Failure TestProviderUtil. testIsApplicationLoaded (org.apache.openjpa.persistence.util) 37ms View trend 1379
Failure TestPersistenceUtil. testNotLoadedLazy (org.apache.openjpa.persistence.util) 34ms View trend 1588
Failure TestPersistenceUtil. testIsApplicationLoaded (org.apache.openjpa.persistence.util) 34ms View trend 1591
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1491006 13f79535-47bb-0310-9956-ffa450edef68
2013-06-08 16:06:08 +00:00
Albert Lee
937aad666b
OPENJPA-2377 - Fix criteria query methods to meet spec requirements.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1482427 13f79535-47bb-0310-9956-ffa450edef68
2013-05-14 16:26:39 +00:00
Pinaki Poddar
6d313db788
OPENJPA:2379: simplify isLoaded() logic
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1479651 13f79535-47bb-0310-9956-ffa450edef68
2013-05-06 17:46:33 +00:00
Pinaki Poddar
1a1ab83ff5
Add a warning when complex id class is non-serializable
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1469643 13f79535-47bb-0310-9956-ffa450edef68
2013-04-19 00:07:41 +00:00
Albert Lee
e8a2932d4c
OPENJPA-2368 extentable xsd updates
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1468233 13f79535-47bb-0310-9956-ffa450edef68
2013-04-15 21:35:41 +00:00
Albert Lee
30c3a72a11
OPENJPA-2368 Reverts extension xsd update in trunk.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1467844 13f79535-47bb-0310-9956-ffa450edef68
2013-04-15 02:02:13 +00:00
Albert Lee
e61acd8571
OPENJPA-2368 extension xsd update in trunk.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1467674 13f79535-47bb-0310-9956-ffa450edef68
2013-04-13 18:44:03 +00:00
Pinaki Poddar
3d11895269
OPENJPA-2365: Support for delete-by-query. Correction for hint processing
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1464082 13f79535-47bb-0310-9956-ffa450edef68
2013-04-03 15:51:52 +00:00
Pinaki Poddar
70a201a55d
OPENJPA-2305: Downcast the attribute, if necessary, while navigating a path
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1456614 13f79535-47bb-0310-9956-ffa450edef68
2013-03-14 19:04:44 +00:00
Pinaki Poddar
e617abd086
Simple change to stringify a collection of values with proper spaces
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1456576 13f79535-47bb-0310-9956-ffa450edef68
2013-03-14 17:59:17 +00:00
Pinaki Poddar
0f4459fcb4
OPENJPA-2305: Revert to previous style of generated metamodel as flattening inherited variables violate the spec
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1456574 13f79535-47bb-0310-9956-ffa450edef68
2013-03-14 17:57:48 +00:00
Pinaki Poddar
ecd1246c80
OPENJPA-2305: Restore the inheritance hierarchy of the generated canonical metamodel to that of the domain model due to spec compliance, but flatten the attributes so that an inherited attribute uses generic parameter of owning class type instead of the declared supertype
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1451369 13f79535-47bb-0310-9956-ffa450edef68
2013-02-28 21:46:54 +00:00
Richard G. Curtis
5632d5ab0a
OPENJPA-2330: Fix StackoverflowError when checking if a field is loaded. Test contributed by Guillaume Chauvet.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1448662 13f79535-47bb-0310-9956-ffa450edef68
2013-02-21 14:39:07 +00:00
Heath Thomann
2c3ec95860
OPENJPA-2324: Option to express literal in query string directly into generate SQL - applied Albert's patch to trunk.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1436543 13f79535-47bb-0310-9956-ffa450edef68
2013-01-21 18:41:30 +00:00
Pinaki Poddar
0ca38be727
OPENJPA-2320: Remove static initializers because recursive Predicate constructor deadlocks
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1430117 13f79535-47bb-0310-9956-ffa450edef68
2013-01-08 02:40:07 +00:00
Pinaki Poddar
efef270907
OPENJPA-2057:remove wrong import
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1428108 13f79535-47bb-0310-9956-ffa450edef68
2013-01-02 23:23:12 +00:00
Pinaki Poddar
dc02973a19
Add javadoc comments
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1425073 13f79535-47bb-0310-9956-ffa450edef68
2012-12-21 18:31:40 +00:00
Pinaki Poddar
0a8d89da00
OPENJPA-2057: Add additional class loader to configuration to load custom plugins
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1425072 13f79535-47bb-0310-9956-ffa450edef68
2012-12-21 18:29:38 +00:00
Pinaki Poddar
56107fc73c
OPENJPA-2305: Change inheritance hierarchy of generated canonical metamodel
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1420324 13f79535-47bb-0310-9956-ffa450edef68
2012-12-11 18:23:50 +00:00
Pinaki Poddar
f17a08fee4
OPENJPA-2304: Protect the expressin list for concurrent access
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1420321 13f79535-47bb-0310-9956-ffa450edef68
2012-12-11 18:22:15 +00:00
Pinaki Poddar
88cc847a1c
OPENJPA-2284: Save NPE while parsing cascade
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1416742 13f79535-47bb-0310-9956-ffa450edef68
2012-12-04 01:41:24 +00:00
Heath Thomann
9fa9ef4fe8
OPENJPA-2244: Applied Helen's patch to trunk.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1415486 13f79535-47bb-0310-9956-ffa450edef68
2012-11-30 03:14:37 +00:00
Helen Xu
e0d5b0505f
OPENJPA-2295 speed up query metadata lookup
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1414275 13f79535-47bb-0310-9956-ffa450edef68
2012-11-27 17:26:11 +00:00
Richard G. Curtis
d6367874ae
OPENJPA-1532: Minor message updates.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1409441 13f79535-47bb-0310-9956-ffa450edef68
2012-11-14 21:43:09 +00:00
Richard G. Curtis
4823f1748e
OPENJPA-1532: Enable shared-cache-mode to turn on datacache without needing openjpa.DataCache configuration. Patch contributed by Helen Xu.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1396037 13f79535-47bb-0310-9956-ffa450edef68
2012-10-09 13:47:38 +00:00
Jody Grassel
e9a6d6681d
OPENJPA-2261: Query SQL Cache issue with NULL parameters
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1383446 13f79535-47bb-0310-9956-ffa450edef68
2012-09-11 15:18:22 +00:00
Jody Grassel
ef2065122a
OPENJPA-2260: Parenthesis-augmented parameters are improperly processed at EM level
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1383100 13f79535-47bb-0310-9956-ffa450edef68
2012-09-10 20:27:56 +00:00
Pinaki Poddar
1fe219eeae
save circular serialization error
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1354283 13f79535-47bb-0310-9956-ffa450edef68
2012-06-26 22:54:23 +00:00
Pinaki Poddar
91c9e23478
Put an entity manager as the user object in a broker
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1354226 13f79535-47bb-0310-9956-ffa450edef68
2012-06-26 20:56:43 +00:00
Albert Lee
d1306467c3
OPENJPA-2183 - enable missing openjpa.hint.RelaxParameterTypeChecking
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1347017 13f79535-47bb-0310-9956-ffa450edef68
2012-06-06 18:13:14 +00:00
Mark Struberg
61b023c784
OPENJPA-2197 fix lifecycle method detection
...
This commit fixes a problem to pick up a JPA lifecycle method
like @PrePersist if there is a method with the same name
(but different parameters) in the class as well.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1339509 13f79535-47bb-0310-9956-ffa450edef68
2012-05-17 07:55:41 +00:00
Richard G. Curtis
ae9e05b9c7
OPENJPA-2187: Generate correct source for a file that is in the default package.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1337325 13f79535-47bb-0310-9956-ffa450edef68
2012-05-11 18:41:34 +00:00