We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 75b3089 commit 8c92989Copy full SHA for 8c92989
src/main/java/org/mybatis/spring/SqlSessionFactoryBean.java
@@ -422,6 +422,10 @@ protected SqlSessionFactory buildSqlSessionFactory() throws IOException {
422
configuration.setObjectWrapperFactory(this.objectWrapperFactory);
423
}
424
425
+ if (this.vfs != null) {
426
+ configuration.setVfsImpl(this.vfs);
427
+ }
428
+
429
if (hasLength(this.typeAliasesPackage)) {
430
String[] typeAliasPackageArray = tokenizeToStringArray(this.typeAliasesPackage,
431
ConfigurableApplicationContext.CONFIG_LOCATION_DELIMITERS);
@@ -480,10 +484,6 @@ protected SqlSessionFactory buildSqlSessionFactory() throws IOException {
480
484
481
485
482
486
483
- if (this.vfs != null) {
- configuration.setVfsImpl(this.vfs);
- }
-
487
if (this.cache != null) {
488
configuration.addCache(this.cache);
489
0 commit comments