Commit ec66c89
committed
fix #64 set databaseId before parse mapper xmls
when parse mapper xml files , it needs to know what databaseId is。
org.apache.ibatis.builder.xml.XMLConfigBuilder'smethod:databaseIdProviderElement,will set databaseId if "environment != null && databaseIdProvider != null",but the configuration's environment is null becase it will set after "xmlConfigBuilder.parse();" in file "SqlSessionFactoryBean.java"1 parent c5834f9 commit ec66c89
1 file changed
+9
-9
lines changedLines changed: 9 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
425 | 425 | | |
426 | 426 | | |
427 | 427 | | |
428 | | - | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
429 | 437 | | |
430 | 438 | | |
431 | 439 | | |
| |||
446 | 454 | | |
447 | 455 | | |
448 | 456 | | |
449 | | - | |
450 | | - | |
451 | | - | |
452 | | - | |
453 | | - | |
454 | | - | |
455 | | - | |
456 | | - | |
457 | 457 | | |
458 | 458 | | |
459 | 459 | | |
| |||
0 commit comments