Raible's Wiki

Raible Designs
Wiki Home
News
Recent Changes

AppFuse

Homepage
  - Korean
  - Chinese
  - Italian
  - Japanese

QuickStart Guide
  - Chinese
  - French
  - German
  - Italian
  - Korean
  - Portuguese
  - Spanish
  - Japanese

User Guide
  - Korean
  - Chinese

Tutorials
  - Chinese
  - German
  - Italian
  - Korean
  - Portuguese
  - Spanish

FAQ
  - Korean

Latest Downloads

Other Applications

Struts Resume
Security Example
Struts Menu

Set your name in
UserPreferences


Referenced by
CreateDAO
CreateDAO_it




JSPWiki v2.2.33

[RSS]


Hide Menu

CreateDAOiBATIS


Difference between version 6 and version 1:

At line 8 changed 1 line.
* A Data Access Object (a.k.a. a [DAO|http://java.sun.com/blueprints/patterns/DAO.html]), an [Interface|http://java.sun.com/docs/books/tutorial/java/concepts/interface.html] and a Hibernate Implementation
* A Data Access Object (a.k.a. a [DAO|http://java.sun.com/blueprints/patterns/DAO.html]), an [Interface|http://java.sun.com/docs/books/tutorial/java/concepts/interface.html] and an iBATIS Implementation
At line 11 changed 1 line.
AppFuse uses [Hibernate|http://www.hibernate.org] for its default persistence layer. However, you can install [iBATIS|http://ibatis.apache.org] and use it as an alternative. You can also use them both side-by-side if you so desire. To install iBATIS in AppFuse, view the README.txt in {{extras/ibatis}}.
AppFuse uses [Hibernate|http://www.hibernate.org] for its default persistence layer. However, you can install [iBATIS|http://ibatis.apache.org] and use it as an alternative. You can also use them both side-by-side if you so desire. To install iBATIS in AppFuse, view the README.txt in {{extras/ibatis}} (or simply cd into this directory and run __ant install__). The Hibernate version of this tutorial is available [here|CreateDAO].
At line 65 removed 1 line.
date_of_birth datetime not null,
At line 84 removed 1 line.
<parameter property="dateOfBirth" jdbcType="TIMESTAMP" javaType="java.util.Date"/>
At line 91 removed 1 line.
<parameter property="dateOfBirth" jdbcType="TIMESTAMP" javaType="java.util.Date"/>
At line 98 removed 1 line.
<result property="dateOfBirth" column="date_of_birth"/>
At line 118 changed 1 line.
insert into person (first_name,last_name,date_of_birth)
insert into person (first_name,last_name)
At line 127 changed 2 lines.
last_name = ?,
date_of_birth = ?
last_name = ?
At line 331 changed 1 line.
Now, if you try to run __ant test-dao -Dtestcase=PersonDao__, you will get the same error. We need to configure Spring so it knows that PersonDaoiBatis is the implementation of PersonDao.
Now, if you try to run __ant test-dao -Dtestcase=PersonDao__, you will get the same error. Yo need to configure Spring so it knows that PersonDaoiBatis is the implementation of PersonDao.

Back to CreateDAOiBATIS, or to the Page History.