mirror of https://github.com/apache/openjpa.git
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
This commit is contained in:
parent
3c3c8082d3
commit
1f347633aa
|
@ -132,14 +132,14 @@
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>javax.validation</groupId>
|
<groupId>javax.validation</groupId>
|
||||||
<artifactId>validation-api</artifactId>
|
<artifactId>validation-api</artifactId>
|
||||||
<version>1.0.CR3</version>
|
<version>1.0.CR5</version>
|
||||||
<scope>test</scope>
|
<scope>test</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
<!-- Hibernate that implements 1.0.CR3 -->
|
<!-- Hibernate that implements 1.0.CR3 -->
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.hibernate</groupId>
|
<groupId>org.hibernate</groupId>
|
||||||
<artifactId>hibernate-validator</artifactId>
|
<artifactId>hibernate-validator</artifactId>
|
||||||
<version>4.0.0.Beta2</version>
|
<version>4.0.0.CR1</version>
|
||||||
<scope>test</scope>
|
<scope>test</scope>
|
||||||
<exclusions>
|
<exclusions>
|
||||||
<!-- force usage of the geronimo-jpa_2.0_spec -->
|
<!-- force usage of the geronimo-jpa_2.0_spec -->
|
||||||
|
|
|
@ -36,8 +36,6 @@ public class TestMappedSuper extends PersistenceTestCase {
|
||||||
/*
|
/*
|
||||||
* Verify constraints defined via XML on a mapped superclass are validated.
|
* Verify constraints defined via XML on a mapped superclass are validated.
|
||||||
*/
|
*/
|
||||||
@AllowFailure(message="This test currently fails with the CR3 version of" +
|
|
||||||
" the RI. See: https://forum.hibernate.org/viewtopic.php?f=26&t=998810")
|
|
||||||
public void testMappedSuperXMLConstraint() {
|
public void testMappedSuperXMLConstraint() {
|
||||||
OpenJPAEntityManagerFactorySPI emf = (OpenJPAEntityManagerFactorySPI)
|
OpenJPAEntityManagerFactorySPI emf = (OpenJPAEntityManagerFactorySPI)
|
||||||
OpenJPAPersistence.createEntityManagerFactory(
|
OpenJPAPersistence.createEntityManagerFactory(
|
||||||
|
|
Loading…
Reference in New Issue