| Article: |
iBatis DAO | |
| Subject: | Spring? | |
| Date: | 2005-08-17 06:42:04 | |
| From: | mraible1 | |
|
Response to: Spring?
|
||
| What about using Spring's DAO layer to simplify accessing iBATIS? I like it because it allows you to set primary keys w/o having database-specific code in your SQL.xml mapping files (example (http://tinyurl.com/c5zbs) ). Of course, if iBATIS supported JDBC 3.0 and getGeneratedKeys(), there might be a more elegant solution. Last time I checked (http://issues.apache.org/jira/browse/IBATIS-142) , they didn't support it. | ||
Women in Technology
Hear us Roar
