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
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
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
Richard G. Curtis
1d71976c8f
OPENJPA-2156: Add support for generating a final class.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1303496 13f79535-47bb-0310-9956-ffa450edef68
2012-03-21 18:41:42 +00:00
Richard G. Curtis
7063dd5296
OPENJPA-2156: Correctly generate imports when using classes in java.util packages.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1301641 13f79535-47bb-0310-9956-ffa450edef68
2012-03-16 16:43:34 +00:00
Kevin W. Sutter
cc4f6264ba
OPENJPA-2152. Don't submit and process an extra query hint if the desired LockModeType is NONE (the default).
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1299042 13f79535-47bb-0310-9956-ffa450edef68
2012-03-09 21:02:18 +00:00
Jeremy Bauer
d03434b557
OPENJPA-2141 fix and test for lazy embedded fields
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1293250 13f79535-47bb-0310-9956-ffa450edef68
2012-02-24 13:53:01 +00:00
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