Commit Graph

169 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
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
Donald Woods c9e74d4c7a update pom names to better match the module name and add descriptions where missing
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@779579 13f79535-47bb-0310-9956-ffa450edef68
2009-05-28 12:10:45 +00:00
Donald Woods a825aab23a OPENJPA-1062 undo changes to openjpa-example for osgi testing
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@779264 13f79535-47bb-0310-9956-ffa450edef68
2009-05-27 18:20:08 +00:00
Donald Woods 677ef4da30 OPENJPA-1062 minor test update
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@778740 13f79535-47bb-0310-9956-ffa450edef68
2009-05-26 15:13:39 +00:00
Donald Woods 0b49620ac9 OPENJPA-1062 OSGi integration tests, which are commented out of the builds for now as they fail and need some more work...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@777551 13f79535-47bb-0310-9956-ffa450edef68
2009-05-22 14:50:17 +00:00
Donald Woods 0b3dcc4433 OPENJPA-1088 Build updates for openjpa-examples and openjpa-integration/examples
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@775150 13f79535-47bb-0310-9956-ffa450edef68
2009-05-15 14:27:49 +00:00
Donald Woods 5014430b94 OPENJPA-1063 Create a new openjpa-all artifact to include runtime depends. Matches changes made to branches/1.3.x.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@773601 13f79535-47bb-0310-9956-ffa450edef68
2009-05-11 15:21:52 +00:00
Michael Dick d61b3b26a9 OPENJPA-772 committing patch provided by Donald Woods
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@740763 13f79535-47bb-0310-9956-ffa450edef68
2009-02-04 15:12:58 +00:00
Jeremy Bauer cabd344397 OPENJPA-800 remove version milestone indicator from build artifacts
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@725817 13f79535-47bb-0310-9956-ffa450edef68
2008-12-11 21:17:55 +00:00
Michael Dick b45e0655df OPENJPA-818 changing tck profile to use geronimo api
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@723873 13f79535-47bb-0310-9956-ffa450edef68
2008-12-05 21:23:36 +00:00
Jeremy Bauer c60a95f77a OPENJPA-800 Change release artifact versions for milestone 1
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@723373 13f79535-47bb-0310-9956-ffa450edef68
2008-12-04 16:51:03 +00:00
Michael Dick 284bd408f8 [maven-release-plugin] prepare release 1.3.x
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@707728 13f79535-47bb-0310-9956-ffa450edef68
2008-10-24 19:19:49 +00:00
Michael Dick 64dbe4c924 [maven-release-plugin] prepare release 1.2.x
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@680508 13f79535-47bb-0310-9956-ffa450edef68
2008-07-28 21:20:09 +00:00
Michael Dick 981c023e0e OPENJPA-633 updating pom.xml files to be compatible with the maven-release-plugin. There are a lot of formatting changes which are needed to prevent the plugin from removing our copyright header.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@666731 13f79535-47bb-0310-9956-ffa450edef68
2008-06-11 16:48:56 +00:00
Patrick Linskey 8803104f41 moved release number to 1.2.0-SNAPSHOT now that we've made a 1.1.x branch
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@646049 13f79535-47bb-0310-9956-ffa450edef68
2008-04-08 19:40:02 +00:00
Marc Prud'hommeaux 935d55d4fe Removed passing along "test" parameter to TCK script, since it seems to cause problems when it is unset.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@584982 13f79535-47bb-0310-9956-ffa450edef68
2007-10-16 00:39:09 +00:00
Marc Prud'hommeaux cdd318578e Set a default value for "jpatck.test" so that not specifying a test will allow the TCK to run.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@584978 13f79535-47bb-0310-9956-ffa450edef68
2007-10-16 00:03:57 +00:00
Marc Prud'hommeaux eb6a63c2c7 Added "openjpa.log.level" property to override the level of OpenJPA logging during TCK tests.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@584444 13f79535-47bb-0310-9956-ffa450edef68
2007-10-13 19:21:58 +00:00
Marc Prud'hommeaux 6529b65e43 Added "db.name" property and comment on how to run TCK tests using a database other than derby.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@584443 13f79535-47bb-0310-9956-ffa450edef68
2007-10-13 19:19:11 +00:00
Marc Prud'hommeaux a817af2993 Added "jpatck.test" argument to allow the running of an individual test.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@581519 13f79535-47bb-0310-9956-ffa450edef68
2007-10-03 07:47:54 +00:00
Marc Prud'hommeaux c70bee2898 Changed trunk version to be 1.1.0-SNAPSHOT (was 1.0.0-SNAPSHOT)
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@570465 13f79535-47bb-0310-9956-ffa450edef68
2007-08-28 16:03:23 +00:00
Patrick Linskey 62f09afea9 something in Marc's checkin (r565955) broke how I run the examples; reverting the phase change to see if invocation in the old phase resolves the issue.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@567835 13f79535-47bb-0310-9956-ffa450edef68
2007-08-20 21:29:47 +00:00
Marc Prud'hommeaux 9bebf551fc Fixed TCK to only use a single jar in the top-level openjpa-all aggregate module.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@567207 13f79535-47bb-0310-9956-ffa450edef68
2007-08-18 02:26:34 +00:00
Marc Prud'hommeaux ecc36a0f37 Build system work in preparation for 1.0.0 release; fixed some missing license headers; added maven ARAT plugin
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@565955 13f79535-47bb-0310-9956-ffa450edef68
2007-08-14 22:39:55 +00:00
Patrick Linskey ffec0204a1 Make it possible to run the TCK in various enhancement modes via system properties.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@561022 13f79535-47bb-0310-9956-ffa450edef68
2007-07-30 15:48:14 +00:00
Marc Prud'hommeaux 3599a48964 Moving version to 1.0.0-SNAPSHOT as a result of mailing list vote
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@541929 13f79535-47bb-0310-9956-ffa450edef68
2007-05-26 19:18:37 +00:00
Marc Prud'hommeaux 0e19b714ac Changed version from 0.9.8-incubating-SNAPSHOT to 0.9.8-SNAPSHOT to reflect move from incubation to TLP
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@540829 13f79535-47bb-0310-9956-ffa450edef68
2007-05-23 03:36:05 +00:00
Marc Prud'hommeaux a461910160 Make sure the examples directory exists when we run the integration-test.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@536724 13f79535-47bb-0310-9956-ffa450edef68
2007-05-10 00:35:18 +00:00
Marc Prud'hommeaux a92785fea6 OPENJPA-194 Changed openjpa-all-VERSION.jar to be just openjpa-VERSION.jar, and changes openjpa-project-VERSION.zip to be apache-openjpa-VERSION.zip
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@536693 13f79535-47bb-0310-9956-ffa450edef68
2007-05-09 22:23:54 +00:00
Marc Prud'hommeaux 42f0d50d02 Fixed to be more lenient when looking for artifact to expand.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@531070 13f79535-47bb-0310-9956-ffa450edef68
2007-04-21 17:43:47 +00:00
Marc Prud'hommeaux 640cddad04 Updated license headers to be in accordance with http://www.apache.org/legal/src-headers.html
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@528881 13f79535-47bb-0310-9956-ffa450edef68
2007-04-14 21:50:17 +00:00
Patrick Linskey 82c71f6dce removed some os-dependent code from integration test pom
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@526607 13f79535-47bb-0310-9956-ffa450edef68
2007-04-08 22:27:35 +00:00
Patrick Linskey 24299b365e more attempts at fixing things for the tck
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@526595 13f79535-47bb-0310-9956-ffa450edef68
2007-04-08 19:15:05 +00:00
Patrick Linskey f041ba0959 fixed some issues with our TCK-running framework to hopefully get it running on Windows
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@526588 13f79535-47bb-0310-9956-ffa450edef68
2007-04-08 18:11:21 +00:00
Patrick Linskey 89b0cf69b1 decoupling running of the examples and the tck, so that examples-related need not be addressed in order to run the TCK.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@526512 13f79535-47bb-0310-9956-ffa450edef68
2007-04-08 02:59:44 +00:00
Michael Dick 7fd119e840 updating trunk version
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@526476 13f79535-47bb-0310-9956-ffa450edef68
2007-04-07 19:54:18 +00:00
Marc Prud'hommeaux 4b6bade66a Use the authoritative JPA API jar for running the TCK to get around incompatibilities with the Geronimo JPA API.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@526347 13f79535-47bb-0310-9956-ffa450edef68
2007-04-07 02:10:20 +00:00
Marc Prud'hommeaux 82d274abd6 Redirect TCK output to a openjpa-tck.log file.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@526305 13f79535-47bb-0310-9956-ffa450edef68
2007-04-06 22:40:38 +00:00
Marc Prud'hommeaux 15e1289b95 OPENJPA-193 Added 'tck-profile' profile flag that enables running the JPA TCK as part of the integration-test phase
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@526287 13f79535-47bb-0310-9956-ffa450edef68
2007-04-06 21:19:53 +00:00
Marc Prud'hommeaux 1bef88aeb7 Added integration test for examples included in the package
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@506906 13f79535-47bb-0310-9956-ffa450edef68
2007-02-13 08:31:32 +00:00
Marc Prud'hommeaux b8d3750346 Restored TCK logic that I accidentally deleted.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@505197 13f79535-47bb-0310-9956-ffa450edef68
2007-02-09 06:16:07 +00:00
Marc Prud'hommeaux 7f523e0ba9 Changes to deal with never version of the TCK.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@505161 13f79535-47bb-0310-9956-ffa450edef68
2007-02-09 03:51:48 +00:00
Marc Prud'hommeaux 4cb55c6210 Use "settings.localRepository" instead if "{user.home}/.m2" to handle non-standard repository locations.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@501700 13f79535-47bb-0310-9956-ffa450edef68
2007-01-31 03:00:20 +00:00
Marc Prud'hommeaux 593977b05a Un-did last change, since maven.home doesn't actually work.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@501696 13f79535-47bb-0310-9956-ffa450edef68
2007-01-31 02:47:00 +00:00
Marc Prud'hommeaux 6a68820560 Changed references to '{user.home}/.m2' to be '{maven.home}', in case people have a non-standard repository location.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@501695 13f79535-47bb-0310-9956-ffa450edef68
2007-01-31 02:40:56 +00:00
Marc Prud'hommeaux e4bf0444a4 Added openjpa-integration/tck/pom.xml which can be used to run the JPA TCK (provided it exist locally) against the OpenJPA build.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@501356 13f79535-47bb-0310-9956-ffa450edef68
2007-01-30 09:37:59 +00:00