• Post Reply Bookmark Topic Watch Topic
  • New Topic

Required help in Ibatis

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

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.

Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!