API for runtime assembling of ibatis configuration elements

2010-05-19 Thread alebu
Hi, I have some ibatis API question: Is it possible to assemble configuration elements like resultMap's or queries in runtime using API only? Can these API generated elements reference to those that comes from XML configuration? It can be useful in some situations, like using custom query builder w

Advanced Result Mapping documentation error or misunderstanding of concept

2010-05-19 Thread alebu
Hi, at this moment I am reading documentation "Advanced Result Mapping" section and one think I can't understand in the example with blogs (further reading didn't clarified it either). SQL Query is described like: select B.id as *blog_id*, B.title as blog_title, ... Result set mapping for that