A clever use of <sql id="foo"></sql> and <include refid="foo"/> where the <sql> is in the ${dialect} file will give some pretty reasonable flexability without the need to exploit any bugs. I have recently posted a JIRA feature request precisely to help address key generation aspect of the cross-DB compatability issue more easily using properties instead or replacing entire statements:
http://issues.apache.org/jira/browse/IBATIS-277

-J

PS: I was pleased to have another closely related issue was addressed in record time:
http://issues.apache.org/jira/browse/IBATIS-195
Thanks Clinton!


Reply via email to