Gents,I've created a patch for the following issue which seems to have some popularity, and is a personal pain point for our legacy code.
https://issues.apache.org/jira/browse/IBATIS-375 Would love to see this make it into an official release. Regards, Ian.