Is there a comprehensive example or tutorial for iBATIS 3 with annotations?
-
27-09-2019 - |
문제
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.
해결책
Read "What's new in iBATIS 3" written by Nathan Good. It explains one example using Java 5 annotations instead of XML configuration files.
제휴하지 않습니다 StackOverflow