Commit Graph

66 Commits

Author SHA1 Message Date
Donald Woods 560afb7df4 OPENJPA-1712 Merge in build updates from 2.0.x branch
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@987238 13f79535-47bb-0310-9956-ffa450edef68
2010-08-19 17:31:55 +00:00
Donald Woods 98563ecfdf OPENJPA-1712 Move common test-java5 profile to the parent pom
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@986085 13f79535-47bb-0310-9956-ffa450edef68
2010-08-16 18:17:15 +00:00
Donald Woods 021e8a498e OPENJPA-1754 Include Apache BVal and spec api in openjpa-all and binary assembly to complete the JPA 2.0 picture
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@985350 13f79535-47bb-0310-9956-ffa450edef68
2010-08-13 20:33:50 +00:00
Donald Woods a2d3c9f57a OPENJPA-1712 add validation build notes for Java SE 5 testing
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@983987 13f79535-47bb-0310-9956-ffa450edef68
2010-08-10 13:18:59 +00:00
Donald Woods aec11be5f1 OPENJPA-1712 more build and pom cleanup
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@983973 13f79535-47bb-0310-9956-ffa450edef68
2010-08-10 12:54:23 +00:00
Donald Woods bcfadcff1b OPENJPA-1712 Fix creation of test artifacts, so they get signed during -Papache-release deploys to nexus repo
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@983040 13f79535-47bb-0310-9956-ffa450edef68
2010-08-06 16:22:21 +00:00
Donald Woods a1716ad3e2 OPENJPA-1712 Minor format cleanup of some POMs to improve readability
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@961420 13f79535-47bb-0310-9956-ffa450edef68
2010-07-07 15:55:10 +00:00
Donald Woods cbe90d792b use released Apache Bean Valdiation 0.1-incubating artifacts. Move some common dependency versions to parent POM.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@956672 13f79535-47bb-0310-9956-ffa450edef68
2010-06-21 19:12:34 +00:00
Jeremy Bauer 9d33fe34b8 OPENJPA-1685 Updated ValidatorImpl to remove potential whitespace within a comma separated list of validation groups.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@952730 13f79535-47bb-0310-9956-ffa450edef68
2010-06-08 16:41:27 +00:00
Donald Woods 9c629413d8 update bval artifact name, remove old agimatec profile, and add tets-java5 profile since we need to specify jaxb depends for testing on jdk5
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@947761 13f79535-47bb-0310-9956-ffa450edef68
2010-05-24 18:57:24 +00:00
Donald Woods 92a025c063 OPENJPA-1364 Upgrade from commons-lang-2.1 to 2.4
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@946772 13f79535-47bb-0310-9956-ffa450edef68
2010-05-20 19:48:54 +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
Donald Woods b5b65a7d4b [maven-release-plugin] prepare release 2.0.x
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@926437 13f79535-47bb-0310-9956-ffa450edef68
2010-03-23 02:27:40 +00:00
Michael Dick c618b4692d OPENJPA-1557:
Use openjpa.Log to control build logging instead of openjpa.loglevel

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@923929 13f79535-47bb-0310-9956-ffa450edef68
2010-03-16 18:44:11 +00:00
Donald Woods 32fe994aea upgrade to latest released agimatec-validation artifacts
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@916746 13f79535-47bb-0310-9956-ffa450edef68
2010-02-26 16:38:33 +00:00
Donald Woods 0befad7051 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@915979 13f79535-47bb-0310-9956-ffa450edef68
2010-02-24 21:04:54 +00:00
Donald Woods 099d18901e [maven-release-plugin] prepare release 2.0.0-beta2
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@915977 13f79535-47bb-0310-9956-ffa450edef68
2010-02-24 21:04:42 +00:00
Donald Woods c28ffa7be1 more attempts to fix release plugin issue with test jars
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@915964 13f79535-47bb-0310-9956-ffa450edef68
2010-02-24 20:24:17 +00:00
Donald Woods f259a4ee1e OPENJPA-1504 Update TestTraversableResolver so it can be used with Hibernate or Agimatec providers. Upgrade to agimatec-validation-0.9.6-SNAPSHOT, which now supports constraints.xml so all junits pass again with it.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@908660 13f79535-47bb-0310-9956-ffa450edef68
2010-02-10 20:35:22 +00:00
Donald Woods 27abdb4149 OPENJPA-1107 TraversableResolver testcases contributed by Dianne Richards.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@908173 13f79535-47bb-0310-9956-ffa450edef68
2010-02-09 19:39:45 +00:00
Donald Woods 7091a52927 OPENJPA-1076 Testcases for PersistenceProviderResolver contributed by Dianne Richards.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@903328 13f79535-47bb-0310-9956-ffa450edef68
2010-01-26 17:23:33 +00:00
Donald Woods 9c90ca5506 merged in r902968 from beta branch
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@902988 13f79535-47bb-0310-9956-ffa450edef68
2010-01-25 21:50:14 +00:00
Donald Woods f1fc076840 OPENJPA-1347 Upgrade to Validation 1.0 GA API
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@824890 13f79535-47bb-0310-9956-ffa450edef68
2009-10-13 19:29:13 +00:00
Donald Woods 8956f17824 OPENJPA-1347 Upgrade to Validation API 1.0.0.GA and Hibernate 4.0.0.GA for bean validation testing
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@824805 13f79535-47bb-0310-9956-ffa450edef68
2009-10-13 15:26:41 +00:00
Pinaki Poddar 05d2a80417 OPENJPA-1345: Update to JPA Spec version EA9
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@824568 13f79535-47bb-0310-9956-ffa450edef68
2009-10-13 02:06:19 +00:00
Donald Woods c6085cd296 OPENJPA-1229 Remove extra Geronimo repo as the artifacts are mirrored now. Update the repoId for sonatype.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@822350 13f79535-47bb-0310-9956-ffa450edef68
2009-10-06 17:07:54 +00:00
Donald Woods 680320a733 OPENJPA-1229 Upgrade to agimatec-validation 0.9.3
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@821129 13f79535-47bb-0310-9956-ffa450edef68
2009-10-02 18:47:25 +00:00
Donald Woods b68c975ebf OPENJPA-1229 Upgrade to agimatec-validation 0.9.3 which supports 1.0.CR5 now, but still lacks support for XML constraints (so 1 test in testMappedSuperXMLConstraint fails)
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@821124 13f79535-47bb-0310-9956-ffa450edef68
2009-10-02 18:33:59 +00:00
Donald Woods 5113654485 add common setTestsDisabled()/isTestsDisabled() in AbstractPersistenceTestCase which is used by runTest() to automatically skip all tests. added new setSupportedDatabases()/setUnsupportedDatabases() methods in SingleEMFTestCase to set the testsDisabled flag in AbstractPTC, along with moving a getLog() method from some testcases into the base SingleEMFTC class for everyone to use.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@813506 13f79535-47bb-0310-9956-ffa450edef68
2009-09-10 16:40:37 +00:00
Jeremy Bauer 1f347633aa OPENJPA-1282 Update bean validation RI provider and spec API level. Remove allow failure from test that passes due to provider update.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@810645 13f79535-47bb-0310-9956-ffa450edef68
2009-09-02 18:18:27 +00:00
Michael Dick c8fa380048 Fixing validation test hierarchy.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@804333 13f79535-47bb-0310-9956-ffa450edef68
2009-08-14 19:28:55 +00:00
Michael Dick 89a7f53db0 Refactor PersistenceTestCase to AbstractCachedEMFTestCase and AbstractPersistenceTestCase.
Deprecate old class to allow submodules to compile (can be removed after maven repos is updated).

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@804331 13f79535-47bb-0310-9956-ffa450edef68
2009-08-14 19:28:39 +00:00
Michael Dick 61b85e4b1a OPENJPA-1234: Remove mistakenly added columnDefinition..
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@802589 13f79535-47bb-0310-9956-ffa450edef68
2009-08-09 20:40:49 +00:00
Michael Dick fb2a45a739 OPENJPA-1234:
AllowFailure checks for system property before running or logging exceptions from test methods.

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@802587 13f79535-47bb-0310-9956-ffa450edef68
2009-08-09 20:38:58 +00:00
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