[jboss-dev-forums] [JBoss AS7 Development] - Re: Non-Java EE (Spring) JPA/Hibernate and native Hibernate applications in AS7

Scott Marlow do-not-reply at jboss.com
Thu Jun 16 06:56:07 EDT 2011


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

"Re: Non-Java EE (Spring) JPA/Hibernate and native Hibernate applications in AS7"

To view the discussion, visit: http://community.jboss.org/message/610542#610542

--------------------------------------------------------------
I would like to keep shipping Hibernate 4 but also want to see the ability to integrate different persistence providers that are tagged with a version identifier.  The AS7 javax.persistence.spi.PersistenceProviderResolver should be able to contain multiple instances of the same provider with different version tags.  The packaging of the persistence provider should allow for additional integration classes to be specified (e.g. custom classes for scanning a VFS file url for entities or using jandex for faster annotation scanning).  A custom persistence.xml "version" property can be introduced to match the persistence providers version tag. 

If we were to do this via "module" packaging, Hibernate 3 could be resolve via a dropped in Hibernate 3 module.
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/610542#610542]

Start a new discussion in JBoss AS7 Development at Community
[http://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/20110616/a27f83d6/attachment.html 


More information about the jboss-dev-forums mailing list