File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
src/main/java/org/mybatis/spring Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -388,6 +388,10 @@ protected SqlSessionFactory buildSqlSessionFactory() throws IOException {
388388 configuration .setObjectWrapperFactory (this .objectWrapperFactory );
389389 }
390390
391+ if (this .vfs != null ) {
392+ configuration .setVfsImpl (this .vfs );
393+ }
394+
391395 if (hasLength (this .typeAliasesPackage )) {
392396 String [] typeAliasPackageArray = tokenizeToStringArray (this .typeAliasesPackage ,
393397 ConfigurableApplicationContext .CONFIG_LOCATION_DELIMITERS );
@@ -446,10 +450,6 @@ protected SqlSessionFactory buildSqlSessionFactory() throws IOException {
446450 }
447451 }
448452
449- if (this .vfs != null ) {
450- configuration .setVfsImpl (this .vfs );
451- }
452-
453453 if (xmlConfigBuilder != null ) {
454454 try {
455455 xmlConfigBuilder .parse ();
You can’t perform that action at this time.
0 commit comments