MyBatis CDI Extension
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.mvn/wrapper
src
travis
.gitattributes
.gitignore
.travis.yml
LICENSE
NOTICE
README.md
format.xml
license.txt
mvnw
mvnw.cmd
pom.xml

README.md

MyBatis CDI Extension

Build Status Coverage Status Maven central License

mybatis-logo

MyBatis-CDI extension takes care of the lifecycle of MyBatis mappers and SqlSessions. MyBatis components are directly injected into your CDI beans ready to be used, there is no need to create or destroy them. It also provides local and JTA transaction support based on the @Transactional annotation.

Compatibility

CDI API VERSION Oracle JDK 8 OpenJDK 8 OpenJDK 7
cdi-1.0 N N N
cdi-1.1 Y Y Y
cdi-1.2 (preferred) Y Y Y
cdi-2.0 Y Y N

Essentials

Contributed Examples