Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a comprehensive example or tutorial for iBATIS 3 with annotations?

Is there a comprehensive example or tutorial for iBATIS 3 with annotations?

I am specifically interested in moving away from an XML-based mapper configuration to using pure Java annotations where the SQL statements often take or return complex data structures.

Also, it wasn't clear in the samples I saw, how the configuration file was adapted when moving away from XML-based mappers to annotation-based mapper interfaces.

like image 577
nitya Avatar asked Jun 15 '10 18:06

nitya


1 Answers

Read "What's new in iBATIS 3" written by Nathan Good. It explains one example using Java 5 annotations instead of XML configuration files.

like image 165
linuxbuild Avatar answered Oct 21 '22 18:10

linuxbuild