Course Overview
During this course students explore using MyBatis for the persistent layer of your application. Most Java applications use JPA, which is more an ORM than a Persistent Framework such as MyBatis. Learn how MyBatis can simplify your persistence and drastically improve performance by being in complete control of the SQL.
Course Prerequisites
Students should be experienced Developers on the Java Platform. Basic knowledge of SQL and JDBC would be helpful.
Outline
- Recognise how applications benefit from MyBatis (over, for example, JPA)
- Understand the MyBatis philosophy and programming model
- Understand connections, sessions and transactions
- SQL Mapping and interfaces
- Define Result mappings
- Collection and Association mapping
- Writing Dynamic SQL (building SQL at runtime)
- Configuration and tweaking of MyBatis
- Define custom Type Handlers
- Writing SQL in code using the SQL Builder Class
- Write Multi-Database Vendor Applications
- Tips and Best-Practice
Get in touch with us to see how we can tailor the course to suit your needs.
Frequently asked questions
How long is the Using MyBatis 3.x for Java Persistence course?
1 day, on-site or online. Sessions can run on consecutive days or be spread out to fit your team's schedule.
What are the prerequisites?
Students should be experienced Developers on the Java Platform. Basic knowledge of SQL and JDBC would be helpful.
How large are the groups?
Deliberately small so the trainer can adapt to every participant: at most 10 on-site and 7 online.