[jboss-cvs] JBossAS SVN: r95521 - projects/jpa/trunk/impl/src/main/java/org/jboss/jpa/impl/remote.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Fri Oct 23 14:36:57 EDT 2009
Author: epbernard
Date: 2009-10-23 14:36:56 -0400 (Fri, 23 Oct 2009)
New Revision: 95521
Modified:
projects/jpa/trunk/impl/src/main/java/org/jboss/jpa/impl/remote/RemotelyInjectEntityManagerFactory.java
Log:
JBJPA-15 add more support for Bean Validation
Modified: projects/jpa/trunk/impl/src/main/java/org/jboss/jpa/impl/remote/RemotelyInjectEntityManagerFactory.java
===================================================================
--- projects/jpa/trunk/impl/src/main/java/org/jboss/jpa/impl/remote/RemotelyInjectEntityManagerFactory.java 2009-10-23 18:12:01 UTC (rev 95520)
+++ projects/jpa/trunk/impl/src/main/java/org/jboss/jpa/impl/remote/RemotelyInjectEntityManagerFactory.java 2009-10-23 18:36:56 UTC (rev 95521)
@@ -117,7 +117,7 @@
PersistenceProvider pp = (PersistenceProvider) providerClass.newInstance();
Map<Object, Object> properties = new HashMap<Object, Object>(1);
properties.put( JPAConstants.BEAN_VALIDATION_FACTORY, getValidatorFactory() );
- actualFactory = pp.createContainerEntityManagerFactory(pi, null);
+ actualFactory = pp.createContainerEntityManagerFactory(pi, properties);
}
private ValidatorFactory getValidatorFactory() {
More information about the jboss-cvs-commits
mailing list