Learn how to use ibatis sqlMap and DAO package
Ibatis is used ususally in Java projects, here are some steps and example source code of how to use ibatis sqlMap and DAO package.
Detail list
- Libraries need
- ibatis-2.3.4.726.jar
- ibatis-dao-2.jar
- mysql-connector-java-5.1.6-bin.jar
- jar lib download url
- ibatis home
- ibatis-2.3.4.726.jar
- ibatis-dao-2.jar
- JDBC Diver download
- Database prepare
- Use the sql file(test_account.sql) to create table in database test.
- Run the test project
- The project need to run in Tomcat.
- Download the builded zip file of the test project.
- Download the src zip file of the test project.
- ibatis sqlMap
- configuration: src/sql-map-config.xml
-
- ibatis DAO with sqlMap
-
-
- Database connection config
- src/database.properties
- JUnit test
- ibatis sqlMap test
- ibatis DAO test
- single ibatis sqlMap client factory test
- Reference
- Pdf documentation in chinese
- ibatis 使用笔记
- Java - List Example
<<Back home Naked(no css) site by Lagtan#gmail.com.