Questions tagged [mybatis-configuration]
3 questions
1
vote
1 answer
MyBatis is not closing Prepared Statement
I'm using mybatis 3.1 with spring 4.3 to connect Maria db. In my application I am using only 2 prepared statement (callable statement type). But after few hours of the running of the app it starts giving error "Can't create more than…

monu dwivedi
- 550
- 7
- 15
0
votes
1 answer
How can I make an SqlSessionFactory uses specific TransactionManager?
For a set of multiple database, I successfully configured JDBC/JPA configurations.
@Db1 @Bean Datasource dataSourceDb1();
@Db1 @Bean AbstractEntityManagerFactoryBean entityManagerFactoryDb1(@Db1 DataSource);
@Db1 @Bean TransactionManager…

Jin Kwon
- 20,295
- 14
- 115
- 184
0
votes
1 answer
The Mapper conflicts with itself?
I have a message when trying to run the JBoss server with app with two myBatis mappers
XML fragments parsed from previous mappers already contains value for workSql
The funny moment is that the sql element workSql is in one only mapper. And exists…

Gangnus
- 24,044
- 16
- 90
- 149