Re: Does anyone have any example of "foreach" with annotation

2010-05-05 Thread shamim
Thank's very much for hints. shamim wrote: > > Hi All, > i have stuck with dynamic Sql on Ibatis 3 annotations. Trying to pass > List in dynamic sql as follows: > > @Update("update ${schemaName}.fuf uf" + >

Does anyone have any example of "foreach" with annotation

2010-05-05 Thread shamim
Param("schemaName") final String schemaName, @Param("list") List list, @Param("reestNum") final String reestNum, @Param("reestDate") final Date reestDate); Its always throws JDBC exception. May be i am missing something? Thank'x in Advance Shamim --

Re: Searching for an example how to use Ibatis 3 without XML files

2010-03-18 Thread shamim
public class TestConfig { public static void main(String[] args) { SqlSession session = null; try { // derby datasource setting EmbeddedDataSource ds = new EmbeddedDataSource(); ds.setDatabaseName("d:/DerbyDB"); ds.setUser("");

Re: Ibatis sql-maps

2010-03-18 Thread shamim
you should try p6spy. kiran vuppla wrote: > > Hi, > > I am using sql-maps and IBatis to do database related stuff. In my > sql-maps most of them have ${} and #[]# for dynamic parameters created at > run-time. I can only see the generated sql when I run my application. I > would like to run th