Commit Graph

2416 Commits

Author SHA1 Message Date
Michael Dick 81c7abc64e Fixing nightly upload script. Documentation is now zipped and transfered in one file (multiple files were timing out). Resulting zip is unzipped on people.apache.org.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@797606 13f79535-47bb-0310-9956-ffa450edef68
2009-07-24 19:03:58 +00:00
Jeremy Bauer 7022d018da OPENJPA-1175 Initial implementation and tests for ProviderUtil and PerisistenceUnitUtil
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@797551 13f79535-47bb-0310-9956-ffa450edef68
2009-07-24 16:27:30 +00:00
Michael Dick ec35dff093 Moving nightly upload ant script to a separate file
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@797456 13f79535-47bb-0310-9956-ffa450edef68
2009-07-24 13:52:15 +00:00
Pinaki Poddar 7099c084fb OPENJPA-1195: Datastore function for in general usage as well as JPA 2.0. CriteriaQuery Parameter indexing during registration.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@797257 13f79535-47bb-0310-9956-ffa450edef68
2009-07-23 23:01:55 +00:00
Pinaki Poddar 001c9e4fd2 OPENJPA-1180: Parameter processing for JPA 2.0. Implements Parameter in concrete. Parameter holding structure in Query has changed for Map<String|Integer,Object> to Map<String|Integer, Parameter>. Parameters themselves hold values (a doubtful decision).
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@796931 13f79535-47bb-0310-9956-ffa450edef68
2009-07-23 02:47:11 +00:00
Michael Dick 5136bbc8d3 OPENJPA-922:
Allow DB2 to use setByteArrayInputStream instead of setBytes when needed.
Submitted by : B. J. Reed

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@796907 13f79535-47bb-0310-9956-ffa450edef68
2009-07-22 23:09:02 +00:00
Michael Dick fc5d50bf18 OPWNJPA-1191
Adding messages exceptions thrown by TupleImpl

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@796854 13f79535-47bb-0310-9956-ffa450edef68
2009-07-22 19:36:59 +00:00
Donald Woods c6e394d936 OPENJPA-1190 javax.persistence.Caching is now javax.persistence.spi.SharedCacheMode in EA5 (20090720) API
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@796790 13f79535-47bb-0310-9956-ffa450edef68
2009-07-22 16:42:08 +00:00
Pinaki Poddar 1f58f05c52 formatting
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@796784 13f79535-47bb-0310-9956-ffa450edef68
2009-07-22 16:26:44 +00:00
Pinaki Poddar 3bfcd22c9e line length edit
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@796783 13f79535-47bb-0310-9956-ffa450edef68
2009-07-22 16:25:43 +00:00
Michael Dick 49f000f54a OPENJPA-1191 :
Add Tuple implementation and unit tests. Also added some basic typed result and multiselect testscases

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@796773 13f79535-47bb-0310-9956-ffa450edef68
2009-07-22 15:47:47 +00:00
Pinaki Poddar c47bd9ee3a OPENJPA-1187: Allow output be generated in the same directory of the source files.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@796768 13f79535-47bb-0310-9956-ffa450edef68
2009-07-22 15:33:38 +00:00
Jeremy Bauer 07f597d281 OPENJPA-1190 Update schemas and schemas in documentation for EA5
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@796511 13f79535-47bb-0310-9956-ffa450edef68
2009-07-21 19:40:27 +00:00
Donald Woods 1b86a81c94 OPENJPA-1190 Use Geronimo EA5 JPA spec jar. Patch only has method stubs returning null for the new methods added by EA5, like -
PersistenceUnitInfoImpl.getSharedCacheMode()
EntityManagerFactoryImpl.getPersistenceUnitUtil()
PersistenceProviderImpl.getProviderUtil()

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@796457 13f79535-47bb-0310-9956-ffa450edef68
2009-07-21 18:44:07 +00:00
Michael Dick 37c2620b1e OPENJPA-1171:
Replace StringBuffer with StringBuilder in SQLBuffer to reduce synchronization

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@796340 13f79535-47bb-0310-9956-ffa450edef68
2009-07-21 15:15:17 +00:00
Donald Woods 0cf0922386 OPENJPA-1177 Upgraded to use geronimo-validation_1.0_spec-1.0-EA3-SNAPSHOT (1.0.CR3 API level) and to use hibernate RI as the default Bean Validation provider for integration tests.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@796331 13f79535-47bb-0310-9956-ffa450edef68
2009-07-21 15:03:18 +00:00
Donald Woods 06d2be5bd4 OPENJPA-1177 cleanup metadata and imports
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@796330 13f79535-47bb-0310-9956-ffa450edef68
2009-07-21 15:00:41 +00:00
Fay Wang e21a38e64b OPENJPA-1143: fix test case as the expectedSQL is generated from Derby database and the comparison between push-down sql and expectedSQL is only valid for Derby database.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@796037 13f79535-47bb-0310-9956-ffa450edef68
2009-07-20 21:57:08 +00:00
Donald Woods 37d9ceae26 OPENJPA-1170 We can pickup the agimatec-validation artifacts from the public Sonatype OSS Repo now.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@796011 13f79535-47bb-0310-9956-ffa450edef68
2009-07-20 21:07:25 +00:00
Fay Wang bda625661f OPENJPA-1143: criteria support for subquery
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@795955 13f79535-47bb-0310-9956-ffa450edef68
2009-07-20 18:58:03 +00:00
Donald Woods 048419e89b OPENJPA-1184 Inverse relations not set for MapKey field when using parallel eager select. Patch contributed by David Minor.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@795949 13f79535-47bb-0310-9956-ffa450edef68
2009-07-20 18:36:24 +00:00
Fay Wang f74c5d7a69 OPENJPA-1185: commit subquery overhaul on behalf of Catalina
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@795934 13f79535-47bb-0310-9956-ffa450edef68
2009-07-20 17:49:36 +00:00
Fay Wang 0adf13872e OPENJPA-1143: further clean up test cases
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@795265 13f79535-47bb-0310-9956-ffa450edef68
2009-07-17 23:02:57 +00:00
Jeremy Bauer 8b98816386 OPENJPA-1176 Committing test contributed by Tim McConnell. Tests the use of PrivatePersistentProperties compatibility option with private embeddable property.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@795156 13f79535-47bb-0310-9956-ffa450edef68
2009-07-17 17:27:04 +00:00
Fay Wang c23fb9660b OPENJPA-1143: fix criteria test case errors
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@794890 13f79535-47bb-0310-9956-ffa450edef68
2009-07-16 22:24:58 +00:00
Donald Woods c487d103c1 fix license header formatting
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@794861 13f79535-47bb-0310-9956-ffa450edef68
2009-07-16 21:12:55 +00:00
Donald Woods 78b694ff9a fix license header formatting
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@794860 13f79535-47bb-0310-9956-ffa450edef68
2009-07-16 21:11:26 +00:00
Jeremy Bauer 5cb32680a9 OPENJPA-1176 Add compatibility option to allow private persistent properties
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@794774 13f79535-47bb-0310-9956-ffa450edef68
2009-07-16 18:46:22 +00:00
Michael Dick c293165cb4 OPENJPA-1143:
Fixing eol-style for new files

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@794686 13f79535-47bb-0310-9956-ffa450edef68
2009-07-16 14:13:51 +00:00
Fay Wang 364ea73d6f OPENJPA-1143: clean up test cases
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@794524 13f79535-47bb-0310-9956-ffa450edef68
2009-07-16 04:57:15 +00:00
Donald Woods 21fec94f19 OPENJPA-1177 Preparing for upgrade to newer JSR-303 1.0.CR3 spec level with some extra tracing, as checkCVE() is going to be broken.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@794412 13f79535-47bb-0310-9956-ffa450edef68
2009-07-15 20:49:20 +00:00
Donald Woods aefd05089d OPENJPA-1170 Fix which validation/jpa2 spec jars and versions are pulled in by transitive Maven depends.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@794409 13f79535-47bb-0310-9956-ffa450edef68
2009-07-15 20:48:08 +00:00
Pinaki Poddar 6dd615ebc3 OPENJPA-703: correct comment
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@794075 13f79535-47bb-0310-9956-ffa450edef68
2009-07-14 21:32:42 +00:00
Pinaki Poddar 229cb12699 OPENJPA-703: correct comment
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@794069 13f79535-47bb-0310-9956-ffa450edef68
2009-07-14 21:21:14 +00:00
Donald Woods c155c9ee2f cleanup imports and add proper EMF cleanup
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@793990 13f79535-47bb-0310-9956-ffa450edef68
2009-07-14 17:41:07 +00:00
Michael Dick b40e3a425e Add IDEA module descriptors to .gitignore.
modified:   .gitignore

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@793984 13f79535-47bb-0310-9956-ffa450edef68
2009-07-14 17:30:19 +00:00
Michael Dick 0927c83f78 Added getMappings method to SingleEMFTestCase
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@793982 13f79535-47bb-0310-9956-ffa450edef68
2009-07-14 17:27:57 +00:00
Donald Woods 17a0c1d9b2 cleanup imports and add proper EMF cleanup
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@793980 13f79535-47bb-0310-9956-ffa450edef68
2009-07-14 17:20:32 +00:00
Donald Woods 3231ac4a2a OPENJPA-1114 Add an exclude for the Hibernate test profile, which now works except for 5 expected failures due to unimplemented constraints in the version of Hibernate that implemented the 1.0.CR1 API
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@793639 13f79535-47bb-0310-9956-ffa450edef68
2009-07-13 17:47:31 +00:00
Donald Woods edff099770 OPENJPA-1114 Add an exclude for the agimatec-jsr303 transitive depend on javax.validation-validation-api RI, as discovered by Albert Lee.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@793612 13f79535-47bb-0310-9956-ffa450edef68
2009-07-13 15:43:51 +00:00
Pinaki Poddar 00c27b1df4 instruction for metamodel generation tool
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@793610 13f79535-47bb-0310-9956-ffa450edef68
2009-07-13 15:35:26 +00:00
Michael Dick 47173558ef OPENJPA-466:
Synchronize the call to obtain the next sequence value.
Submitted by: Tim McConnell.
	modified:   openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/kernel/NativeJDBCSeq.java

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@793599 13f79535-47bb-0310-9956-ffa450edef68
2009-07-13 14:54:26 +00:00
Donald Woods ba73316f83 the spec source files (with Javadoc) from the JCP cannot be checked in the ASF repos, as it is covered under the CDDL. Please either use the geronimo-jpa_2.0_spec-1.0.EA4 code or keep a private copy on your development machine.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@792921 13f79535-47bb-0310-9956-ffa450edef68
2009-07-10 12:38:59 +00:00
Jeremy Bauer c8b99a764c OPENJPA-1167 Update persistence and orm schemas and schemas within doc to current versions
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@792610 13f79535-47bb-0310-9956-ffa450edef68
2009-07-09 17:13:43 +00:00
Michael Dick f6413764d5 OPENJPA-1168:
Improved checking for type1 UUID generator is initialized. Reducing
timing window which could result in a NPE.
Submitted by: Rick Curtis
	modified:   openjpa-lib/src/main/java/org/apache/openjpa/lib/util/UUIDGenerator.java
	modified:   openjpa-lib/src/test/java/org/apache/openjpa/lib/util/TestUUIDGenerator.java

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@792592 13f79535-47bb-0310-9956-ffa450edef68
2009-07-09 16:01:48 +00:00
Pinaki Poddar 07a98e871b OPENJPA-1143: Re-realign implementation with JAP EA4. Repurpose SelectionImpl, rename ResultItemImpl to TupleElementImpl (to match JPA naming)
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@792583 13f79535-47bb-0310-9956-ffa450edef68
2009-07-09 15:29:27 +00:00
Michael Dick ea71783c57 OPENJPA-1167. Updating to EA4 version of the JPA specification from Geronimo. Adding stub methods for compilation purposes. Some additional refactoring may be needed (desired).
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@792326 13f79535-47bb-0310-9956-ffa450edef68
2009-07-08 21:20:32 +00:00
Donald Woods 8613683843 OPENJPA-1000 Consistent usage of serialVersionUID. Remove all serialVersionUID values that have been added since 1.2.1 as requested by Pinaki to keep the usage consistant (ie. very little use of serialVersionUID in the existing code.)
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@792312 13f79535-47bb-0310-9956-ffa450edef68
2009-07-08 20:48:46 +00:00
Albert Lee 56ae0ae6ae OPENJPA-525 - Semi-revert the original solution due to regression in ResultSetResult.translate() method. Implemented an alternative solution to perform the same original intent. Based on Milosz, the current solution caused some failure in MySQL. He agreed for this interim commit and look for cause of failures in MySQL.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@792284 13f79535-47bb-0310-9956-ffa450edef68
2009-07-08 20:01:08 +00:00
Donald Woods 717a0b1855 OPENJPA-1157 adding @Valid tests of embedded one-to-one entity and tracing of the included ConstraintViolation exceptions contained within the thrown ConstraintViolationException while validating the expected number are in the Set.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@792248 13f79535-47bb-0310-9956-ffa450edef68
2009-07-08 18:22:16 +00:00