Jeremy Bauer
|
233e258cb8
|
OPENJPA-1157 Added test which contains uses constraints and persistence metadata defined in XML. Updated ValidatorImpl to trace exceptions thrown as a result of creating the default validator factory.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@802062 13f79535-47bb-0310-9956-ffa450edef68
|
2009-08-07 16:06:17 +00:00 |
Donald Woods
|
35be8fb0ba
|
OPENJPA-1148 Remove test.jvm.arguments, which was causing this module to always fail with a OOM PermGen space with 64bit Java 6 on Linux automated builds. Also merged in some recent updates in o-p-j for derby lock timeouts and ehnancer agent settings.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@801163 13f79535-47bb-0310-9956-ffa450edef68
|
2009-08-05 12:10:48 +00:00 |
Jeremy Bauer
|
63cacaa1c9
|
OPENJPA-1208 Set compatibility options and validation mode based on persistence version.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@800951 13f79535-47bb-0310-9956-ffa450edef68
|
2009-08-04 20:32:49 +00:00 |
Donald Woods
|
df073249f5
|
OPENJPA-1107 Updated TraversableResolver that calls only our OpenJPAPersistenceUtil. Updated OpenJPAPersistenceUtil.isLoaded() to handle UnsupportedOperationException when checking a detached entity and returns LoadState.UNKNOWN. Also added a testcase in TestPersistenceUtil to verify that caller gets isLoaded()==true for a detached entity and fixed a trace output in TestConstraints.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@800568 13f79535-47bb-0310-9956-ffa450edef68
|
2009-08-03 21:14:43 +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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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
|
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 |
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 |
Donald Woods
|
de7f5c1189
|
OPENJPA-1106 Integration tests for Bean Validation providers. Add tests for special update/delete/ignore cases.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@789450 13f79535-47bb-0310-9956-ffa450edef68
|
2009-06-29 21:16:06 +00:00 |
Donald Woods
|
2fc4ba2c45
|
OPENJPA-1106 Integration tests for Bean Validation providers. Tests for @AssertTrue and @AssertFalse.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@789421 13f79535-47bb-0310-9956-ffa450edef68
|
2009-06-29 19:45:27 +00:00 |
Donald Woods
|
bc5a51520f
|
OPENJPA-1106 Initial @Null and @NotNull validation contraint tests along with other entity classes for future tests to be added.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@788849 13f79535-47bb-0310-9956-ffa450edef68
|
2009-06-26 20:06:40 +00:00 |
Donald Woods
|
0d8b1dc074
|
OPENJPA-1111 Validation mode of callback should cause a PersistenceException when no provider is available. Also some config rework as suggested by Pinaki in reviewing OPENJPA-1114. This is Part 1, as the thrown PersistenceException is not marked as Fatal and contains a null description, but does have the stack.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@785366 13f79535-47bb-0310-9956-ffa450edef68
|
2009-06-16 20:11:45 +00:00 |
Donald Woods
|
888ddb83c0
|
OPENJPA-1106 rename testcase to better match what we're testing
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@784172 13f79535-47bb-0310-9956-ffa450edef68
|
2009-06-12 16:03:49 +00:00 |
Donald Woods
|
27b0abd46b
|
OPENJPA-1106 Integration tests for Bean Validation providers - Part 1 (not hooked into the builds yet)
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@783503 13f79535-47bb-0310-9956-ffa450edef68
|
2009-06-10 20:44:39 +00:00 |