To all: We have developed an ant task that will build sqlmap files based on javadoc-like comments within java code. This makes it so that the sql statements are located next to the file that uses them and it has been much easier for us to do development.
The ant task reads through the files and creates a map per file and builds the select/insert/update/delete tags with the id defined in the javadoc. The map files and the config file are all created and updated automatically by the ant task. To read more, please go to: http://somakani.blogspot.com/2007/05/ant-based-ibatis-config-and-map.html We would be happy to donate this task if you think there would be some interest. Let me know. Thanks for ibatis, it is a great tool. We sure find it valuable!