Wednesday, January 10, 2007

2 questions for iBATIS developers

I've just started to play with iBATIS in Action and I have 2 questions for iBATIS developers about configuration files.

- Why doesn't have <property> inside of <properties>?
My concern: Sometimes user wants to keep these properties inside of SqlMapConfig.xml rather than outside

- Why doesn't have 'file' or 'resource' attribute in <select>, <update>, <delete>,... which points to a .SQL file?
My concern: If it exists, DBA only needs to distribute SQL script files to developer and developer just needs to change a little of content rather than copy&paste

No comments: