JBoss Community

Re: AS 7 Persistence Provider Problem

created by Scott Marlow in JBoss AS 7 Development - View the full discussion

Did you change the Hibernate jars to expose your CustomHibernatePeristence class instead of the standard HibernatePeristence?  Look at the contents of your fork of the Hibernate entity manager jar for the contents of file META-INF/services/javax.persistence.spi.PersistenceProvider.

 

You probably didn't change that or add one in your custom jar.  Your custom persistence provider is not a provider, without doing this.

Reply to this message by going to Community

Start a new discussion in JBoss AS 7 Development at Community