Skip to content

Cannot share the SqlSession instance into same transaction [DATAJDBC-161] #395

Closed
@spring-projects-issues

Description

@spring-projects-issues

Kazuki Shimizu opened DATAJDBC-161 and commented

In the current implementation of the MyBatisDataAccessStrategy, it open an SqlSession instance per statement. I think it should be shared on the same transaction using the SqlSessionTemplate instead of the SqlSessionFactory#openSession.
WDYT?


Referenced from: pull request #29

Metadata

Metadata

Assignees

Labels

in: coreIssues in core supporttype: bugA general bug

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions