Commit Graph

202 Commits

Author SHA1 Message Date
Donald Woods d618ec5dd4 OPENJPA-1712 Merge in build updates from 2.0.x branch
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@989270 13f79535-47bb-0310-9956-ffa450edef68
2010-08-25 17:59:09 +00:00
Donald Woods c772a6f26d OPENJPA-1712 Merge in build updates from 2.0.x branch
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@989256 13f79535-47bb-0310-9956-ffa450edef68
2010-08-25 17:46:12 +00:00
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
Jeremy Bauer a36ace562b OPENJPA-1739 Added additional metrics to cache statistics and updated instrumentation.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@984896 13f79535-47bb-0310-9956-ffa450edef68
2010-08-12 18:18:43 +00:00
Michael Dick 7bfc33e468 Testcase update with slf4j
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@984835 13f79535-47bb-0310-9956-ffa450edef68
2010-08-12 15:34:30 +00:00
Jeremy Bauer 25ccc95d6c OPENJPA-1739 Added basic stats tracking to query result cache. Updates to JMX provider. Added tests to jmx module for query cache and prepared SQL cache instruments.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@984633 13f79535-47bb-0310-9956-ffa450edef68
2010-08-12 02:40:23 +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
Jeremy Bauer b8798f1abe OPENJPA-1739 enable JMX test module
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@982864 13f79535-47bb-0310-9956-ffa450edef68
2010-08-06 03:53:31 +00:00
Jeremy Bauer 4118e6ac44 OPENJPA-1739 Adding JMX Platform MBean test module
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@982855 13f79535-47bb-0310-9956-ffa450edef68
2010-08-06 02:56:32 +00:00
Donald Woods 899b56b418 OPENJPA-1751 Update assembly inclusion of simple examples and update simple build with new root path
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@980798 13f79535-47bb-0310-9956-ffa450edef68
2010-07-30 14:07:27 +00:00
Donald Woods 982b643868 OPENJPA-1735 Mark commons-logging as provided in the build to remove transient maven dependency
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@966020 13f79535-47bb-0310-9956-ffa450edef68
2010-07-20 21:40:05 +00:00
Donald Woods de0e36d39b OPENJPA-1732 LogFactory adapter for SLF4J
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@965965 13f79535-47bb-0310-9956-ffa450edef68
2010-07-20 19:17:57 +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 d7c6f97a83 OPENJPA-1712 Don't publish tck POM to repos
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@959376 13f79535-47bb-0310-9956-ffa450edef68
2010-06-30 16:59:03 +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 4ad9478ffa move openjpa-maven-plugin version to parent pom, since two modules are using it now
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@936861 13f79535-47bb-0310-9956-ffa450edef68
2010-04-22 14:19:52 +00:00
Donald Woods 82af197ca6 update tck2 scripts
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@934884 13f79535-47bb-0310-9956-ffa450edef68
2010-04-16 14:05:00 +00:00
Donald Woods cdc597a26b update tck runs to use new openjpa.Log setting. force usage of new patch subset until we get the final ones.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@934111 13f79535-47bb-0310-9956-ffa450edef68
2010-04-14 18:48:27 +00:00
Donald Woods 6eb56facc2 remove usage of current patches until we get either an updated TCK or patchset from Oracle
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@933710 13f79535-47bb-0310-9956-ffa450edef68
2010-04-13 17:28:41 +00:00
Donald Woods 3701538ff6 OPENJPA-1411 Enable daytrader tests, now that openjpa-maven-plugin-1.1 is released
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@926602 13f79535-47bb-0310-9956-ffa450edef68
2010-03-23 14:56:20 +00:00
Donald Woods 8bf38a7fee some additional trunk updates for the move to 2.1.0-SNAPSHOT
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@926438 13f79535-47bb-0310-9956-ffa450edef68
2010-03-23 02:36:15 +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
Donald Woods 148522b865 OPENJPA-1411 Switch back to antrun since openjpa-maven-plugin-1.1 hasn't been released yet. Also, these tests are not included in the normal builds.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@926287 13f79535-47bb-0310-9956-ffa450edef68
2010-03-22 19:44:58 +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 b85c4e30fa OPENJPA-1411 Include DayTrader test case in OpenJPA. Note: this is not pulled into the normal builds, as the openjpa-maven-plugin-1.1-SNAPSHOT has not been released.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@923745 13f79535-47bb-0310-9956-ffa450edef68
2010-03-16 14:06:38 +00:00
Donald Woods ce0886e110 OPENJPA-1101 Remove unused/outdated/incomplete OSGi integration tests, as this is being handled by Apache Aries for now
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@920894 13f79535-47bb-0310-9956-ffa450edef68
2010-03-09 14:32:46 +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 e512e15ba0 OPENJPA-1520 Compile for 1.6 and update javadoc links to use 1.6
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@911682 13f79535-47bb-0310-9956-ffa450edef68
2010-02-19 02:52:51 +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 61cacd5df6 use exclude list to skip pluggability tests during second pass
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@899377 13f79535-47bb-0310-9956-ffa450edef68
2010-01-14 19:47:44 +00:00
Donald Woods 4f6e43a758 add some extra results info
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@899034 13f79535-47bb-0310-9956-ffa450edef68
2010-01-14 02:38:55 +00:00
Donald Woods b8b37205e3 updates to run TCK twice, since pluggability tests require a different setup
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@898974 13f79535-47bb-0310-9956-ffa450edef68
2010-01-13 22:25:55 +00:00
Donald Woods 6a779fd44e remove hack for DDL file, as we have a patched copy for Derby now
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@898530 13f79535-47bb-0310-9956-ffa450edef68
2010-01-12 21:38:14 +00:00
Donald Woods 1e95ee43a8 updates to unzip JPA2 TCK required patches file
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@898405 13f79535-47bb-0310-9956-ffa450edef68
2010-01-12 16:26:25 +00:00
Donald Woods b90c4f0191 OPENJPA-1453 cleanup classpaths for jpa.classes and tsant
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@896412 13f79535-47bb-0310-9956-ffa450edef68
2010-01-06 12:02:29 +00:00
Donald Woods 5938ca72f0 OPENJPA-1453 Old 1.0b TCK does not create a reports dir
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@896046 13f79535-47bb-0310-9956-ffa450edef68
2010-01-05 14:05:08 +00:00
Donald Woods 254e9362cd OPENJPA-1453 Old 1.0b TCK does not create a reports dir
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@896033 13f79535-47bb-0310-9956-ffa450edef68
2010-01-05 13:26:00 +00:00
Donald Woods 8cf03bdab7 OPENJPA-1453 Fix setting javaagent
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@895863 13f79535-47bb-0310-9956-ffa450edef68
2010-01-05 02:21:40 +00:00
Donald Woods c4fe0957ee OPENJPA-1453 Merge some of the tck2-profile updates into tck-profile and chnage the tsant macro in tck2-profile to not fail the build when errors occur
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@895819 13f79535-47bb-0310-9956-ffa450edef68
2010-01-04 22:55:49 +00:00
Donald Woods f78ddef9c2 OPENJPA-1453 Updates to add javaagent and pass/fail counts for JPA2 runs
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@895783 13f79535-47bb-0310-9956-ffa450edef68
2010-01-04 21:10:09 +00:00
Donald Woods 02b5554036 OPENJPA-1453 Add support for testing with JPA 2.0 TCK
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@895723 13f79535-47bb-0310-9956-ffa450edef68
2010-01-04 17:47:19 +00:00
Donald Woods 60cae2ff51 OPENJPA-1103 Upgrade to 1.0-SNAPSHOT versions of the jpa2 and bv spec apis and remove the early access disclaimer.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@889818 13f79535-47bb-0310-9956-ffa450edef68
2009-12-11 21:19:55 +00:00
Donald Woods a24efc3c55 OPENJPA-839 Need to exclude new source and shade created jars from being used for the agent setting to the TCK
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@830927 13f79535-47bb-0310-9956-ffa450edef68
2009-10-29 13:15:23 +00:00
Donald Woods 721c6ce211 shouldn't be building osgi-tests right now
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@828113 13f79535-47bb-0310-9956-ffa450edef68
2009-10-21 17:24:44 +00:00
Donald Woods c753ce2278 OPENJPA-767 Start of true OSGi support, which uses the r828047 changes in the Geronimo JPA2 1.0-EA9 spec to resolve/load providers in OSGi. Still lots of work needed, so this is not in the normal builds yet.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@828051 13f79535-47bb-0310-9956-ffa450edef68
2009-10-21 15:33:44 +00:00
Donald Woods 737f17fc26 OPENJPA-1101 bundle metadata tweaks for osgi tests
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@826665 13f79535-47bb-0310-9956-ffa450edef68
2009-10-19 13:24:29 +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 a91b3bdb40 OPENJPA-1101 hellojpa as a bundle and steps on how to deploy openjpa to Apache Felix Karaf. Tests are disabled for now, as we need better Karaf integration with maven.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@823304 13f79535-47bb-0310-9956-ffa450edef68
2009-10-08 20:15:00 +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
Donald Woods 7065743f17 OPENJPA-1252 Include a Derby Network Server test profile, allow Derby version to be changed on the cmdline, and cleanup some formatting/comments.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@805841 13f79535-47bb-0310-9956-ffa450edef68
2009-08-19 15:36:02 +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
Kevin W. Sutter b5e893b5a7 OPENJPA-1221. Modified openjpa-integration module pom files for examples, tck, and osgi-itests to be consistent with the validation module.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@800526 13f79535-47bb-0310-9956-ffa450edef68
2009-08-03 20:21:51 +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