Hi , newb to ibatis , Just used abator for eclipse to generate DAO’s for a simple table and I got :-

 

TableSQLmap                - the sqlMap

Table.java                      - the value object

TableExample.java         - some class with the same data as the value object, but everythings an int, This is where I’m getting confused

TableDAO interface        - the DAO interface

TableDAOImpl               -  implements the above interface, but doesn’t use the generated value objects…. Uses the value object Examples ???

 

Has anyone got a good example of how all these hang together in a stand alone java app ?  In particular, what you do with the TableExample classes  ?

 

Cheers

Paul

 

 

Reply via email to