Commit Graph

2241 Commits

Author SHA1 Message Date
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
Michael Dick 19d8d3f21d OPENJPA-1164. Fix stupid spelling mistake
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@792239 13f79535-47bb-0310-9956-ffa450edef68
2009-07-08 17:45:32 +00:00
Michael Dick 08bafa5ef5 OPENJPA-1164. Making sleepTime configurable for SimpleWriteBehindCallback.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@792226 13f79535-47bb-0310-9956-ffa450edef68
2009-07-08 16:47:34 +00:00
Donald Woods b577460955 OPENJPA-1157 adding @Pattern constraint tests
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@792203 13f79535-47bb-0310-9956-ffa450edef68
2009-07-08 16:03:03 +00:00
Donald Woods edf98f5f91 OPENJPA-1157 adding @Future and @Past constraint tests
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@792186 13f79535-47bb-0310-9956-ffa450edef68
2009-07-08 15:31:10 +00:00
Donald Woods ba49a316e7 OPENJPA-1157 improved EMF cleanup
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@792135 13f79535-47bb-0310-9956-ffa450edef68
2009-07-08 13:41:44 +00:00
Pinaki Poddar dcaa13461e OPENJPA-703: Beef up strong/weak exclusion of cache entries. Narrow down reason for exclusion.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@791971 13f79535-47bb-0310-9956-ffa450edef68
2009-07-07 20:29:34 +00:00
Michael Dick 9f62d5ebfa Quick formatting fix (add braces)
modified:   openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/meta/MappingInfo.java

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@791908 13f79535-47bb-0310-9956-ffa450edef68
2009-07-07 16:58:08 +00:00
Jeremy Bauer 5283bcd77d OPENJPA-1082 Added support for configurable bean validation groups
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@791678 13f79535-47bb-0310-9956-ffa450edef68
2009-07-07 02:35:08 +00:00
Michael Dick 8597b330e5 OPENJPA-1150. Adding support for simple write-behind cache scenarios.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@791628 13f79535-47bb-0310-9956-ffa450edef68
2009-07-06 22:09:32 +00:00
Donald Woods 5bfc42f725 OPENJPA-1157 Integration tests for Bean Validation providers - Part 2. Added @Size constraint tests.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@791621 13f79535-47bb-0310-9956-ffa450edef68
2009-07-06 21:37:18 +00:00
Donald Woods 1bdb8363f8 OPENJPA-1157 Integration tests for Bean Validation providers - Part 2. Added @Digits constraint tests.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@791609 13f79535-47bb-0310-9956-ffa450edef68
2009-07-06 20:49:27 +00:00
Donald Woods 60fd64109c OPENJPA-1157 Integration tests for Bean Validation providers - Part 2. Added @Min and @Max constraint tests.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@791594 13f79535-47bb-0310-9956-ffa450edef68
2009-07-06 19:59:04 +00:00
Jeremy Bauer 9ee5383721 OPENJPA-1155 Committing code contributed by Dianne Richards. This update ensures that all entities, especially those loaded during detachment get cascaded during detach.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@791568 13f79535-47bb-0310-9956-ffa450edef68
2009-07-06 19:06:19 +00:00
Donald Woods 10bd4e70de OPENJPA-1157 Integration tests for Bean Validation providers - Part 2. Convert some of the existing attribute constraints to be method/getter constraints.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@791554 13f79535-47bb-0310-9956-ffa450edef68
2009-07-06 18:08:18 +00:00
Donald Woods 4c9e036e8a OPENJPA-1068 - Question from Pinaki about how/when the VLEM is created and if we can better us the plugin arch
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@791522 13f79535-47bb-0310-9956-ffa450edef68
2009-07-06 15:40:04 +00:00
Donald Woods 617e6ddff4 OPENJPA-1106 Add tests for DecimalMin/Max constraints. Upgrade to agimatec 0.9.1-SNAPSHOT which has been updated to the 1.0.CR1 API level and now includes support for DecimalMin/Max constraints.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@790722 13f79535-47bb-0310-9956-ffa450edef68
2009-07-02 19:44:18 +00:00
Michael Dick 8730eddc29 OPENJPA-1156 remove primitiveidentity directory
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@790707 13f79535-47bb-0310-9956-ffa450edef68
2009-07-02 18:45:07 +00:00
Michael Dick a1a94144bd OPENJPA-1156. Refactoring test code from OPENJPA-1061 to avoid path length problems in some environments. Specifically I've removed the primitiveidentity component of the package since it was not adding any semantic meaning to the tests. Further refactoring may be needed, but this should prevent the specific problem that was reported.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@790703 13f79535-47bb-0310-9956-ffa450edef68
2009-07-02 18:40:11 +00:00
Jeremy Bauer c24bc1d75c OPENJPA-1068 Modified exception translator to translate wrapped validation exceptions. EM operations now throw correct validation exceptions.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@790700 13f79535-47bb-0310-9956-ffa450edef68
2009-07-02 18:21:26 +00:00
Pinaki Poddar c2afd1cefd OPENJPA-703: Expand type of queries that can be cached especially with various projection terms. Refactor testing of PreparedQueryCache.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@790676 13f79535-47bb-0310-9956-ffa450edef68
2009-07-02 16:57:17 +00:00
Milosz Tylenda 278da3816f OPENJPA-1147: Enable streaming LOB tests by renaming to start with Test
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@790666 13f79535-47bb-0310-9956-ffa450edef68
2009-07-02 16:45:36 +00:00
Milosz Tylenda 6473b9820a OPENJPA-1147: Remove isTargetPlatform calls from TestAutoIncrement, add sequence creation statement
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@790645 13f79535-47bb-0310-9956-ffa450edef68
2009-07-02 16:20:30 +00:00
Jeremy Bauer 0ce16aef5f OPENJPA-1135 Add newline to end of file
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@790152 13f79535-47bb-0310-9956-ffa450edef68
2009-07-01 12:55:48 +00:00
Jeremy Bauer ac12bb4ade OPENJPA-1135 Correct access type related issue with multi-level parsing
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@790151 13f79535-47bb-0310-9956-ffa450edef68
2009-07-01 12:53:39 +00:00
Jeremy Bauer 0f45f13fc2 OPENJPA-1135 Correct access type related issues with attribute overrides and multi-level parsing.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@790150 13f79535-47bb-0310-9956-ffa450edef68
2009-07-01 12:52:56 +00:00