You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user-java@ibatis.apache.org by rs <ru...@myway.com> on 2006/05/03 14:24:48 UTC
Adding new to during runtime
Hi,
Is it possible to add a new insert/delete/etc <statement> during runtime to <sqlMap> specified in the file?
The reason or this is illustrated by the following scenario:
1) generate sqlMaps (we currently using Alex Egorov's perl script). Core insert/delete/select/etc statements are generated.
2) customise generated sqlMaps as required by the app, add new statements, etc.
3) Damn! We want to change something in the statements generated during step 1. All changes specified in the step 2 will have to be redone.
It appears that if we could add "generic" insert/delete/etc statements during runtime instead of specifying them in the sqlMap file, it could save us some work AND allow more flexibility for future changes.
Thanks
_______________________________________________
No banners. No pop-ups. No kidding.
Make My Way your home on the Web - http://www.myway.com