mirror of
https://gitee.com/mybatis-flex/mybatis-flex.git
synced 2025-12-08 01:28:24 +08:00
optimize FlexSqlSessionFactoryBean.java
This commit is contained in:
parent
669993a99f
commit
939fda4eeb
@ -335,6 +335,9 @@ public class FlexSqlSessionFactoryBean extends SqlSessionFactoryBean
|
||||
*/
|
||||
@Override
|
||||
public void setConfiguration(Configuration configuration) {
|
||||
if (!(configuration instanceof FlexConfiguration)) {
|
||||
throw new IllegalArgumentException("Only support FlexConfiguration.");
|
||||
}
|
||||
this.configuration = configuration;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user