[hibernate-commits] [hibernate/hibernate-core] a4b180: JBPAPP-7491 , JBPAPP-7488 , HHH-6806 Add support f...
noreply at github.com
noreply at github.com
Thu Dec 8 09:05:00 EST 2011
Branch: refs/heads/3.6
Home: https://github.com/hibernate/hibernate-core
Commit: a4b18008244cb571ed9964cc744013119401d414
https://github.com/hibernate/hibernate-core/commit/a4b18008244cb571ed9964cc744013119401d414
Author: unknown <TDE at .BSBCORP.BSB.COM>
Date: 2011-12-07 (Wed, 07 Dec 2011)
Changed paths:
M hibernate-entitymanager/src/main/java/org/hibernate/ejb/packaging/JarVisitorFactory.java
M hibernate-entitymanager/src/test/java/org/hibernate/ejb/test/packaging/JarVisitorTest.java
Log Message:
-----------
JBPAPP-7491 , JBPAPP-7488 , HHH-6806 Add support for vfsfile and vfszip in JarVisitor
The method getVisitor(URL jarUrl, Filter[] filters, String entry) does not have conditionals for protocols vfs based,
like vfszip or vfsfile. It returns an InputStreamZippedJarVisitor implementation for both protocols. If it is a vfszip,
it will work, but will not not for vfsfile. The fix includes vfszip and vfsfile to JarVisitorFactory, so it can return
FileZippedJarVisitor (more efficient than InputStreamZippedJarVisitor) for vfszip and ExplodedJarVisitor for vfsfile
Conflicts:
hibernate-entitymanager/src/test/java/org/hibernate/ejb/test/packaging/JarVisitorTest.java
More information about the hibernate-commits
mailing list