Click here to start

Table of contents

iBATIS SQL Maps

Slide 2

What is iBATIS?

How is iBATIS different?

Why “iBATIS”?

How does it work?

How does it work? (cont’d)

Slide 8

Person.java

sqlMapConfig.xml

The SQL Map file (Person.xml)

Person.xml (cont’d)

A simple DAO

A simple DAO (cont’d)

Slide 15

Auto-mapping (of results)

Explicit mapping

Parameter maps

Using JavaBean mapped properties

Parameter maps (cont’d)

Using properties from java.util.Map

SqlMapClient

SqlMapExecutor

Result Maps

Result Maps (cont’d)

Slide 26

Complex properties (aggregation)

Complex properties (cont’d)

Slide 29

Configuring SQL Maps

Inserting data

Stored Procedures

Dynamic Mapped Statements

Logging

Conclusions

Author: Maurice Naftalin

E-mail: maurice-(at)-morninglight.co.uk

Homepage: http://naftalin.info/maurice/professional