Commit Graph

3481 Commits

Author SHA1 Message Date
Richard G. Curtis 93d76e21d3 Remove extraneous import from org.apache.openjpa.persistence.nullity.TestBasicFieldNullity
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@945243 13f79535-47bb-0310-9956-ffa450edef68
2010-05-17 17:15:14 +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
Richard G. Curtis 1cef932cc4 OPENJPA-1563: Fix StackOverlfowError in JPAFacadeHelper.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@945171 13f79535-47bb-0310-9956-ffa450edef68
2010-05-17 14:09:03 +00:00
Donald Woods 4c0dbdb6fc openbooks updates: copy run files to target dir for easy testing, added a run profile to pom.xml to allow launching of app from maven
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@944491 13f79535-47bb-0310-9956-ffa450edef68
2010-05-14 21:42:37 +00:00
Donald Woods 2e407aa3ea fix mvn rat:check failures due to missing ASL2 headers
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@944481 13f79535-47bb-0310-9956-ffa450edef68
2010-05-14 21:28:05 +00:00
Donald Woods 17848d9d40 openbooks updates: now the maven generated jar matches the ant created one, meta-model generated *_.java files are no longer created in the source tree but are still in the built jar and passed to java2html
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@944476 13f79535-47bb-0310-9956-ffa450edef68
2010-05-14 21:17:02 +00:00
Donald Woods 63e3f262fb openbooks updates: put separate run/build.properties back, created a pom.xml that can be used to generate the jar but is not hooked into the build right now, updated build.xml to use standard /target for all output (still need think about how these *_.java files are getting updated in the source for every build...)
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@944450 13f79535-47bb-0310-9956-ffa450edef68
2010-05-14 20:29:27 +00:00
Donald Woods 64e8ea365a fix build after I removed the maven-bundle-plugin
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@944381 13f79535-47bb-0310-9956-ffa450edef68
2010-05-14 18:42:48 +00:00
Donald Woods cc14c901d1 combine build.properties and run.properties into one file, add missing ASL2 header to index.html, use .m2 for java2html and mysql dependencies.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@944341 13f79535-47bb-0310-9956-ffa450edef68
2010-05-14 16:53:06 +00:00
Donald Woods 646d9f37d1 updated License/Notice files to only include requirements for this source code and not the rest of OpenJPA
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@944331 13f79535-47bb-0310-9956-ffa450edef68
2010-05-14 16:13:39 +00:00
Donald Woods 51e860d4af removing GPLv2 licensed jar
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@944330 13f79535-47bb-0310-9956-ffa450edef68
2010-05-14 16:13:03 +00:00
Pinaki Poddar 753c7537ac git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@944129 13f79535-47bb-0310-9956-ffa450edef68 2010-05-14 05:58:16 +00:00
Pinaki Poddar 354d9aee89 git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@944125 13f79535-47bb-0310-9956-ffa450edef68 2010-05-14 05:54:43 +00:00
Pinaki Poddar 983b02e143 git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@944123 13f79535-47bb-0310-9956-ffa450edef68 2010-05-14 05:50:18 +00:00
Pinaki Poddar f9b7be9635 git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@944121 13f79535-47bb-0310-9956-ffa450edef68 2010-05-14 05:47:04 +00:00
Pinaki Poddar 30dc29d4dd git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@944084 13f79535-47bb-0310-9956-ffa450edef68 2010-05-14 02:25:01 +00:00
Pinaki Poddar 3887eb414e Adding initial files
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@944083 13f79535-47bb-0310-9956-ffa450edef68
2010-05-14 02:14:30 +00:00
Pinaki Poddar b0993e01cd First commit of OpenBooks source files
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@944075 13f79535-47bb-0310-9956-ffa450edef68
2010-05-14 01:38:18 +00:00
Pinaki Poddar f4cddb4c82 Remove Compilation error because to @Override flag.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@943897 13f79535-47bb-0310-9956-ffa450edef68
2010-05-13 14:25:36 +00:00
Pinaki Poddar ad54566f6c OPENJPA-1663,OPENJPA-1664: document Query/Finder Target Policy.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@943696 13f79535-47bb-0310-9956-ffa450edef68
2010-05-12 21:22:57 +00:00
Pinaki Poddar bff7d8693a OPENJPA-1663,OPENJPA-1664: document Query/Finder Target Policy.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@943695 13f79535-47bb-0310-9956-ffa450edef68
2010-05-12 21:22:33 +00:00
Pinaki Poddar 3bb50e3d36 OPENJPA-1663,OPENJPA-1664: Add support to target find() or query to a subset of slices with plug-in policy. The existing, code intrusive mechanism of setting hints on query/fetch plan explicitly is retained. Intrusive, explicit setting of targets overrides policy based targets.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@943688 13f79535-47bb-0310-9956-ffa450edef68
2010-05-12 21:08:34 +00:00
Richard G. Curtis 5903f31e69 OPENJPA-1665: Update BrokerImpl to skip check for duplicate ids when they are auto generated.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@943638 13f79535-47bb-0310-9956-ffa450edef68
2010-05-12 19:11:14 +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
Donald Woods fedcd133d0 OPENJPA-1637 Upgrade to latest Geronimo Specs for JPA2 and Bean Validation
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@943162 13f79535-47bb-0310-9956-ffa450edef68
2010-05-11 16:23:23 +00:00
Donald Woods 9bc400e7bd OPENJPA-1660 Add support to test with Apache Bean Validation provider and make it the default provider.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@943147 13f79535-47bb-0310-9956-ffa450edef68
2010-05-11 15:38:44 +00:00
Richard G. Curtis 2765b756bc OPENJPA-1612: Check for having a relationship to a type that is mapped to a blob field.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@942871 13f79535-47bb-0310-9956-ffa450edef68
2010-05-10 19:46:21 +00:00
Pinaki Poddar cb77af09f2 OPENJPA-1657: Save NPE for some database connect on null properties
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@942815 13f79535-47bb-0310-9956-ffa450edef68
2010-05-10 16:33:06 +00:00
Pinaki Poddar 990bfb8d96 OPENJPA-1649: Add a test to verify transaction atomicity across slices.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@941541 13f79535-47bb-0310-9956-ffa450edef68
2010-05-05 23:28:26 +00:00
Pinaki Poddar 4c24a47a8e OPENJPA-1649: Share metadata/mapping repository across slices.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@941515 13f79535-47bb-0310-9956-ffa450edef68
2010-05-05 22:11:51 +00:00
Pinaki Poddar 7bd2b4ae49 OPENJPA-1387: Unique should not impose non-null constraint automatically.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@941362 13f79535-47bb-0310-9956-ffa450edef68
2010-05-05 16:17:31 +00:00
Pinaki Poddar c7addd5f51 OPENJPA-1648,OPENJPA-1649,OPENJPA-1650: Replace fixed thread pools by cached thread pool.
Stop creating thread pools on every flush/query. 
Streamline property parsing/processing to create slice configurations.
Retain addSlice() on Persistence Unit and remove from Persistence Context and Configuration.

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@941084 13f79535-47bb-0310-9956-ffa450edef68
2010-05-04 23:01:51 +00:00
Michael Dick ed2940d547 OPENJPA-1536: set svn:eol-style
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@940555 13f79535-47bb-0310-9956-ffa450edef68
2010-05-03 18:21:14 +00:00
Michael Dick 0b73d9f1a9 OPENJPA-1570: set eol-style
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@940554 13f79535-47bb-0310-9956-ffa450edef68
2010-05-03 18:18:55 +00:00
Michael Dick 5c497a7353 OPENJPA-1622: setting svn:eol-style
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@940553 13f79535-47bb-0310-9956-ffa450edef68
2010-05-03 18:14:35 +00:00
Michael Dick 4e48533de7 OPENJPA-1563: setting svn:eol-style
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@940546 13f79535-47bb-0310-9956-ffa450edef68
2010-05-03 18:09:27 +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 62bed3cf3d OPENJPA-1563: Fix testcase.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@940090 13f79535-47bb-0310-9956-ffa450edef68
2010-05-01 18:02:34 +00:00
Richard G. Curtis 2aacb58f68 Update svn:ignore props for openjpa-integration-daytrader
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@940079 13f79535-47bb-0310-9956-ffa450edef68
2010-05-01 16:58:28 +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 3dbb43b854 strip eol chars
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@939895 13f79535-47bb-0310-9956-ffa450edef68
2010-05-01 01:31:12 +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
Michael Dick 014ac689b5 Update manual on difference between nullable=false and optional=false
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@939453 13f79535-47bb-0310-9956-ffa450edef68
2010-04-29 18:55:19 +00:00
Pinaki Poddar 4fec004e9d Documentation on QueryCache Statistics
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@939447 13f79535-47bb-0310-9956-ffa450edef68
2010-04-29 18:36:37 +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
Michael Dick 7851202ec6 OPENJPA-1641: Try JDBC standard column names as well as Sybase specific ones
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@938610 13f79535-47bb-0310-9956-ffa450edef68
2010-04-27 19:19:38 +00:00
Fay Wang aef5474423 OPENJPA-1596: use unqualified name to check index name length
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@938571 13f79535-47bb-0310-9956-ffa450edef68
2010-04-27 17:12:26 +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
Donald Woods 6bc7930a14 OPENJPA-1639 remove code changes for another issue
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@936942 13f79535-47bb-0310-9956-ffa450edef68
2010-04-22 16:34:31 +00:00