I remember we decided not to implement religion in dbutils, but we can try
this kind of experiment :

 interface MyProcedure {

       int executeSomeQuery( int p1, String p2 );

}

 static final MyProcedure PROC1 = DbUtils.newInstance( MyProcedure.class,

sql,

new ResultSetHandlerImpl()
                                                                            
          );

//use it this way (connection is in ThreadLocal )
DbUtils.setConnection(connection);
 in a = PROC1.executeSomeQuery(1,"test");


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to