-
Type:
Bug
-
Status: Closed (View Workflow)
-
Priority:
Major
-
Resolution: Done
-
Affects Version/s: 7.0.0.Beta2
-
Fix Version/s: 7.1.0.Final
-
Component/s: JPA / Hibernate
-
Labels:None
-
Git Pull Request:
Put the following line in persistence.xml:
<property name="hibernate.session_factory_name" value="modelSessionFactory" />
Hibernate fails to bind modelSessionFactory.
Remove the following two lines from HibernatePersistenceProviderAdaptor.java
- properties.put("hibernate.jndi.java.naming.factory.initial", "org.jnp.interfaces.NamingContextFactory");
- properties.put("hibernate.jndi.java.naming.factory.url.pkgs", "org.jboss.naming:org.jnp.interfaces");
Then the bindind succeeds.
- blocks
-
AS7-421 Automatic JNDI implementation
-
- Resolved
-