Is there a comprehensive example or tutorial for iBATIS 3 with annotations?
-
27-09-2019 - |
Question
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.
Solution
Read "What's new in iBATIS 3" written by Nathan Good. It explains one example using Java 5 annotations instead of XML configuration files.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow