문제

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top