• Post Reply Bookmark Topic Watch Topic
  • New Topic

Required help in Ibatis  RSS feed

 
venkateswarlu nelavalli
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

In my jdbc code i have an insert statement like
psmt.setBoolean(model.getFlag()), getFlag() returns true or false.
It sets 0 or 1 in tables.

How I need to mention this in IBatis.I have same model object and passing this model object as a parameterClass to the Ibatis in the XML file.I need to insert 0 or 1 in the database.

Thanks
Venkat.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!