Commit Graph

643 Commits

Author SHA1 Message Date
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
Pinaki Poddar fd5c79aabc OPENJPA-1050: Restore existing method signature but deprecate them.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@890857 13f79535-47bb-0310-9956-ffa450edef68
2009-12-15 16:15:21 +00:00
Donald Woods 60cae2ff51 OPENJPA-1103 Upgrade to 1.0-SNAPSHOT versions of the jpa2 and bv spec apis and remove the early access disclaimer.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@889818 13f79535-47bb-0310-9956-ffa450edef68
2009-12-11 21:19:55 +00:00
Pinaki Poddar 4715cc737b OPENJPA-1050: Use generic types whenever possible. Replace ordered map with native implementation wrapper.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@889800 13f79535-47bb-0310-9956-ffa450edef68
2009-12-11 20:32:16 +00:00
Pinaki Poddar 1aaa1aa086 OPENJPA-1409: Preserve type for currentDate/Time expressions
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@885989 13f79535-47bb-0310-9956-ffa450edef68
2009-12-01 22:51:01 +00:00
Pinaki Poddar ab52f1fa03 remove unused imports.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@885978 13f79535-47bb-0310-9956-ffa450edef68
2009-12-01 22:36:16 +00:00
Pinaki Poddar 69517ce840 Save NPE on getting super type
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@885526 13f79535-47bb-0310-9956-ffa450edef68
2009-11-30 18:22:06 +00:00
Albert Lee 36a6df375b Avoid dependency on src folder from test case.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@885524 13f79535-47bb-0310-9956-ffa450edef68
2009-11-30 18:10:01 +00:00
Pinaki Poddar d4010d13e1 Reduce hint handling construction cost
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@883982 13f79535-47bb-0310-9956-ffa450edef68
2009-11-25 05:41:07 +00:00
Pinaki Poddar 5d765ea05b OPENJPA-1386: Improve handling of imports that can hide each other
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@883846 13f79535-47bb-0310-9956-ffa450edef68
2009-11-24 20:12:00 +00:00
Pinaki Poddar 0635172cbb Set proper return type on evaluated expression.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@883808 13f79535-47bb-0310-9956-ffa450edef68
2009-11-24 18:37:52 +00:00
Fay Wang c3a856faa0 OPENJPA-1396: fix metadata-complete problem so that it will override @Transient annotation in the entity class
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@882172 13f79535-47bb-0310-9956-ffa450edef68
2009-11-19 15:12:36 +00:00
Pinaki Poddar f1451e5fd8 OPENJPA-1392, OPENJPA-1393: countDistinct() and integer return type for size()
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@881638 13f79535-47bb-0310-9956-ffa450edef68
2009-11-18 00:53:03 +00:00
Pinaki Poddar d797bc1eda Support default projection for untyped result class, if possible.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@881566 13f79535-47bb-0310-9956-ffa450edef68
2009-11-17 22:10:18 +00:00
Pinaki Poddar be2ff16fe3 OPENJPA-1391: Handle untyped collection
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@881529 13f79535-47bb-0310-9956-ffa450edef68
2009-11-17 21:16:23 +00:00
Pinaki Poddar 481bb3d6eb OPENJPA-1390: From.join(String attr) checks any attribute not only singular attributes.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@881495 13f79535-47bb-0310-9956-ffa450edef68
2009-11-17 20:35:20 +00:00
Pinaki Poddar c44c17bd77 Add error messages for attribute not found exceptions.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@881381 13f79535-47bb-0310-9956-ffa450edef68
2009-11-17 17:13:48 +00:00
Pinaki Poddar fb82c6ad13 OPENJPA-1381: Ignore preapared query if lock mode changes
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@881011 13f79535-47bb-0310-9956-ffa450edef68
2009-11-16 22:23:09 +00:00
Pinaki Poddar 9c275904f3 OPENJPA-1387: Revert unique colum related changes to before 880685 plus other changes after that related to OPENJPA-1051 and OPENJPA-1381.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@880922 13f79535-47bb-0310-9956-ffa450edef68
2009-11-16 19:34:11 +00:00
Pinaki Poddar cfea146c29 OPENJPA-1381: Ignore preapared query if lock mode changes
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@880891 13f79535-47bb-0310-9956-ffa450edef68
2009-11-16 18:27:20 +00:00
Pinaki Poddar 0d0daed2cb Literal value for empty disjunction and conjunction
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@836023 13f79535-47bb-0310-9956-ffa450edef68
2009-11-13 22:18:32 +00:00
Pinaki Poddar 6e630e827e OPENJPA-1386: Support field types that can hide each other
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@835756 13f79535-47bb-0310-9956-ffa450edef68
2009-11-13 06:32:43 +00:00
Pinaki Poddar 865dad93aa OPENJPA-1385: Visit having clause to collect query parameters
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@835628 13f79535-47bb-0310-9956-ffa450edef68
2009-11-12 23:10:46 +00:00
Pinaki Poddar 965c997c24 Generate MappedSuperClass through reverse mapping tool.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@835285 13f79535-47bb-0310-9956-ffa450edef68
2009-11-12 07:46:32 +00:00
Pinaki Poddar 6f11e4d983 OPENJPA-1381: Ignore cached target query when lock mode is set
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@835220 13f79535-47bb-0310-9956-ffa450edef68
2009-11-12 04:14:55 +00:00
Albert Lee 75f3a174a4 OPENJPA-1377 - convert property value to upper-case before converting to its corresponding enum type.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@833826 13f79535-47bb-0310-9956-ffa450edef68
2009-11-08 05:03:29 +00:00
Albert Lee 3e83d5d15b OPENJPA-1375 - Clean _plans IdentityHashMap when clear or close is called.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@833150 13f79535-47bb-0310-9956-ffa450edef68
2009-11-05 19:54:32 +00:00
Pinaki Poddar faf2966816 OPENJPA-1334: Refresh should ignore cache.retrieve.mode settings. Assorted changes in property processing for usability
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@832874 13f79535-47bb-0310-9956-ffa450edef68
2009-11-04 21:18:38 +00:00
Catalina Wei f25b573aa0 OPENJPA-1370 JPA2 missing implementation for createNamedQuery(String name, Class<T> resultClass)
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@831488 13f79535-47bb-0310-9956-ffa450edef68
2009-10-30 23:21:09 +00:00
Donald Woods e1dcbce754 OPENJPA-1366 Remove need for an EMF from OpenJPAPersistenceUtil and TraversableResolverImpl. Also, updated EMFImpl.isLoaded() to use Util.isManagedBy() before Util.isLoaded(), since the entity should be managed by the queried EMF instance.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@831406 13f79535-47bb-0310-9956-ffa450edef68
2009-10-30 18:02:15 +00:00
Jeremy Bauer b8e690fb5c OPENJPA-1366 Modified persistence util to do a direct ref comparison instead of iterating through all pu's when determining if an entity is managed within a pu.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@831200 13f79535-47bb-0310-9956-ffa450edef68
2009-10-30 04:49:21 +00:00
Albert Lee 8c8636fce9 OPENJPA-1306 - Add basic extended lock scope support, 3 junit testing basic, secondary table, join table, inheritance entity, element collections (lazy/eager), 1x1 (lazy/eager) and 1xm (lazy/eager).
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@831194 13f79535-47bb-0310-9956-ffa450edef68
2009-10-30 04:09:05 +00:00
Pinaki Poddar c5cc267219 OPENJPA-1337: Push/Pop fetch plan with find()/refresh()
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@830826 13f79535-47bb-0310-9956-ffa450edef68
2009-10-29 01:51:14 +00:00
Pinaki Poddar 41f750a8f1 OPENJPA-1337: Push/Pop fetch plan with find()/refresh()
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@830825 13f79535-47bb-0310-9956-ffa450edef68
2009-10-29 01:48:55 +00:00
Pinaki Poddar dee384cb3c Consolidate javax.persistence.* property processing
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@830810 13f79535-47bb-0310-9956-ffa450edef68
2009-10-29 00:27:25 +00:00
Pinaki Poddar 5e73ca14ed Consolidate property key-value processings for javax.persistence.* keys. They have been accumulating in OpenJPAConf and now moving to where they belong i.e. PersistenceProductDerivation. The value processing from String/integer/enums for these properties have also been spread across many places and now being localized.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@830806 13f79535-47bb-0310-9956-ffa450edef68
2009-10-29 00:22:27 +00:00
Pinaki Poddar 13c88d75cf OPENJPA-1334: i) Calibrate type-based cache eligibility logic to align better with new JPA 2 as well as previous @DataCache behavior.
ii) Use CacheMode settings via FetchPlan.
iii) Cleanup hint handler etc. Replace implementation by interface. 
iv) Start organizing JPA property processing
v) Improve upon EntityManager.setProperty()

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@828880 13f79535-47bb-0310-9956-ffa450edef68
2009-10-22 22:33:13 +00:00
Richard G. Curtis 5d793884e6 OPENJPA-859: Fix checkstyle error
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@828278 13f79535-47bb-0310-9956-ffa450edef68
2009-10-22 01:41:03 +00:00
Richard G. Curtis 7a46717616 OPENJPA-859: Restructured testcase. Minor formatting change.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@828242 13f79535-47bb-0310-9956-ffa450edef68
2009-10-21 22:45:36 +00:00
Albert Lee e69163bdd5 Removed/re-factored unneeded trailing spaces.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@828103 13f79535-47bb-0310-9956-ffa450edef68
2009-10-21 16:58:23 +00:00
Richard G. Curtis f7568decb9 OPENJPA-859: Recommitting 818928. Added new test scenario for partial xml defined embeddable that implements Serializable.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@828072 13f79535-47bb-0310-9956-ffa450edef68
2009-10-21 15:57:00 +00:00
Pinaki Poddar 8abd836dcf OPENJPA-1334: Support instance-based cache partition
move type-based cache eligibility logic to DataCacheManager from ClassMetaData.
Calibrate tests to new eligibility policy

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@827788 13f79535-47bb-0310-9956-ffa450edef68
2009-10-20 20:47:12 +00:00
Jeremy Bauer 04df2fac82 OPENJPA-1115 Committing code and tests contributed by Dianne Richards. This commit cleans up some issues with manual/user specified delimiters and adds initial support for full delimiting via the delimited-identifiers element in orm.xml.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@827727 13f79535-47bb-0310-9956-ffa450edef68
2009-10-20 16:31:39 +00:00
Fay Wang acab37ec81 OPENJPA-871: maps-id xml support
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@826130 13f79535-47bb-0310-9956-ffa450edef68
2009-10-16 23:22:25 +00:00
Fay Wang 6d964387c8 OPENJPA-1013: Refactor correlated plural joins
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@825969 13f79535-47bb-0310-9956-ffa450edef68
2009-10-16 16:01:08 +00:00
Richard G. Curtis 6d50e87a03 OPENJPA-250: Have preload process registered classes. Added simple preload testcase. Fixed problem where preloading wasn't being enabled due to a change in 821925.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@825623 13f79535-47bb-0310-9956-ffa450edef68
2009-10-15 19:28:23 +00:00
Jeremy Bauer cc59e096ef OPENJPA-1349 Spec version property was being prematurely removed from the config map in the create container emf path. Spec version was always set to 2.0, thus compatibility and other options were not set properly for a 1.0 persistence.xml. Also added a test framework class that allows pseudo-testing of the createContainerEMF path using a specific persistence.xml and pu name.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@825006 13f79535-47bb-0310-9956-ffa450edef68
2009-10-14 04:01:45 +00:00
Jeremy Bauer bdd3014b5f OPENJPA-1345: Update schemas to JPA Spec version EA9
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@824847 13f79535-47bb-0310-9956-ffa450edef68
2009-10-13 17:19:45 +00:00
Pinaki Poddar 4f5a9dd676 OPENJPA-1345: Missing files from TeamCity auto-commit
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@824574 13f79535-47bb-0310-9956-ffa450edef68
2009-10-13 02:57:15 +00:00
Pinaki Poddar 05d2a80417 OPENJPA-1345: Update to JPA Spec version EA9
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@824568 13f79535-47bb-0310-9956-ffa450edef68
2009-10-13 02:06:19 +00:00
Albert Lee 87e07a9d47 OPENJPA-1344 Add checks for needed exception conditions.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@824406 13f79535-47bb-0310-9956-ffa450edef68
2009-10-12 16:17:34 +00:00
Albert Lee eb41b03ff4 OPENJPA-1344 Add checks for needed exception conditions.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@824213 13f79535-47bb-0310-9956-ffa450edef68
2009-10-12 01:49:30 +00:00
Donald Woods 39240eb1ec OPENJPA-1284 Fix missing schema license headers
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@822348 13f79535-47bb-0310-9956-ffa450edef68
2009-10-06 16:59:37 +00:00
Richard G. Curtis 210581b625 OPENJPA250: Fix compile error.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@821980 13f79535-47bb-0310-9956-ffa450edef68
2009-10-05 19:26:11 +00:00
Richard G. Curtis 38a54f39f7 OPENJPA-250: Moved preloading to later in the init process and only create MDR if preload is configured.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@821925 13f79535-47bb-0310-9956-ffa450edef68
2009-10-05 17:14:29 +00:00
Michael Dick cc5664fe2d OPENJPA-1328:
Check cacheability in ClassMetaData instead of AbstractDataCache. 
Merged patch from Jody Grassel to trunk

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@821450 13f79535-47bb-0310-9956-ffa450edef68
2009-10-03 23:40:49 +00:00
Richard G. Curtis 4c6ecef1ba OPENJPA-859: Backing out 818928 while investigating a regression.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@821084 13f79535-47bb-0310-9956-ffa450edef68
2009-10-02 16:32:49 +00:00
Donald Woods fa02d2a5fa OPENJPA-1229 get rat-maven-plugin passing again, as any file included in the source distribution has to pass rat:check
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@820779 13f79535-47bb-0310-9956-ffa450edef68
2009-10-01 20:44:24 +00:00
Donald Woods 797de03a10 OPENJPA-1229 Update NOTICE files to match new ASF/Sun agreement for releasing early access specs. Also point to new geronimo-staging-017 to pickup latest spec releases under vote with updated notices.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@820684 13f79535-47bb-0310-9956-ffa450edef68
2009-10-01 15:19:10 +00:00
Pinaki Poddar 529bd3a876 OPENJPA-1276: Compound selection, JOIN clause rendering
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@820307 13f79535-47bb-0310-9956-ffa450edef68
2009-09-30 15:47:45 +00:00
Pinaki Poddar baf800f3b0 OPENJPA-1050: Use generics for BrokerFactory
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@819800 13f79535-47bb-0310-9956-ffa450edef68
2009-09-29 02:43:32 +00:00
Richard G. Curtis 9c3a7117a8 OPENJPA-859: Handle having relational info in mapping file and annotations. Patch contributed by Rick Curtis.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@818928 13f79535-47bb-0310-9956-ffa450edef68
2009-09-25 17:45:49 +00:00
Donald Woods 2eeca2a8ac OPENJPA-1315 Incorrect hashcode()/equals() implementations in QueryImpl causes NPE in Eclipse debugger. Patch contributed by Tim McConnell.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@818195 13f79535-47bb-0310-9956-ffa450edef68
2009-09-23 18:44:44 +00:00
Albert Lee 6485137930 OPENJPA-1323 Enhanced to conform to the new spec requirement.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@818153 13f79535-47bb-0310-9956-ffa450edef68
2009-09-23 16:14:35 +00:00