Java Training Overview
There are plenty of persistence frameworks in the Java community. iBATIS is an open source “data mapper” framework. Data mappers do not tie classes to tables or class fields to columns. Instead, a data mapper maps parameters and results of SQL statements to classes and fields. This makes iBATIS a simple and lightweight persistence framework. By removing the repetitive and error prone work, iBATIS helps remove developers from focusing on low level JDBC code. This hands-on course will expose developers to the iBATIS open source framework while also teaching awareness of some real-world memory, performance and other issues that are associated to any persistence framework. After taking this class, your developers should be able to persist the data in Java objects faster and build applications that are more flexible and easier to maintain.
Java Training Audience
Java programmers interested in learning how to persist Java object data using the iBATIS open source data mapper framework.
Java Training Prerequisites
A solid understanding of Java is required. A good working knowledge of relational databases, SQL, and JDBC is recommended.
Java Training Course duration
1 Days
Java Training Course outline
Overview
- What is iBATIS?
- Why use iBATIS?
- Why not use iBATIS?
- iBATIS Setup
- Central Configuration File
- General iBATIS Resources
Queries
- Getting Started with iBATIS
- SqlMap API
- SqlMap
- Result Mapping
- In-line Parameters
- External Parameter Maps
- SqlMap API
- Scalar Results
- SQL Map Namespaces
- Naming Conventions
Non-Query Statements
- SQL Map Statements for Non-Query
- SqlMap API
- In-line and External Parameters Revisited
- Updates
- Autogenerated Keys
Relationships
- Relationships
- Relationship Issues
- Lazy Loading
- Dealing with N+1
- Inheritance
Transactions
- What’s a Transaction?
- Automatic Transactions
- Local Transactions
- Global Transactions
- Custom Transactions
Dynamic SQL
- What is Dynamic SQL?
- The Tags
- <dynamic> Tag
- Binary Tags
- Unary Tags
- Parameter Tags
- <iterate> Tag
|