[jboss-dev-forums] [JBoss AS 7 Development] - Re: AS 7 Persistence Provider Problem

Scott Marlow do-not-reply at jboss.com
Thu Feb 16 08:48:29 EST 2012


Scott Marlow [https://community.jboss.org/people/smarlow] created the discussion

"Re: AS 7 Persistence Provider Problem"

To view the discussion, visit: https://community.jboss.org/message/717155#717155

--------------------------------------------------------------
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
[https://community.jboss.org/message/717155#717155]

Start a new discussion in JBoss AS 7 Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2225]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20120216/18704d4b/attachment.html 


More information about the jboss-dev-forums mailing list