I changed HibernateIdentityStoreImpl to use hibernate SessionFactory instead of
HibernateEntityManagerFactory. So previous IdentityStore.bootstrapHibernateEntityManager
method is now bootstrapHibernateSessionFactory. There is also one additional way to
provide store with SessionFactory - using JNDI:
so possible configuration is:
| <option>
| <name>persistenceUnit</name>
| <value>jboss-identity-model1</value>
| </option>
or
| <option>
| <name>hibernateSessionFactoryJNDIName</name>
| <value>jndi/path/to/hibernate/SessionFactory/object/here</value>
| </option>
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4206542#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...