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 ( ). Of course, if iBATIS supported JDBC 3.0 and getGeneratedKeys(), there might be a more elegant solution. Last time I checked ( , they didn't support it.