Hello Joseph, MappedStatement is an interface. You can try BaseStatement <http://ibatis.apache.org/docs/java/dev/com/ibatis/sqlmap/engine/mapping /statement/BaseStatement.html> or CachingStatement <http://ibatis.apache.org/docs/java/dev/com/ibatis/sqlmap/engine/mapping /statement/CachingStatement.html> . You can also use your own Class implementing the MappedStatement interface. kambiz
________________________________ Von: Joseph Piron [mailto:joseph.pi...@gmail.com] Gesendet: Donnerstag, 24. September 2009 22:03 An: dev@ibatis.apache.org Betreff: Programmatically add a statement Dears, I'm looking for some information on ibatisnet api. Indeed, I'm trying to add a statement in runtime and I haven't found enough information on how to do this... :) I've tried the AddMappedStatement method, but the MappedStatement class doesn't seem to have a constructor.. Could someone help me ? Thanks all!