[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: VFS and directory handling
scott.stark@jboss.org
do-not-reply at jboss.com
Wed May 28 09:35:07 EDT 2008
This is the same situation that exists without the vfs for exploded vs packed jars. The only difference without the vfs is that the url prefix is probably jar: for packed, file: for exploded. There is no generic solution I can see, but this interaction between ejb3 and hibernate is part of the javax.persistence.spi.PersistenceUnitInfo where there is a contract defined to either return a file: url, or an InputStream to the jar. Its the PersistenceUnitInfo implementation that needs to be vfs aware, not hibernate.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4153947#4153947
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4153947
More information about the jboss-dev-forums
mailing list