ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Burke.Kevin" <Kevin.Bu...@cic.gc.ca>
Subject RE: What does Insert method return
Date Thu, 12 Feb 2009 18:25:55 GMT
Yes, that is correct.  It does not matter if you specify "int" or
"java.lang.Integer". "int" is an alias for java.lang.Integer.  See page
40 of the developer guide.  The insert() method returns an object, so it
has to be an Integer.
You should have a read through the iBatis Developer guide
s/en/ <http://ibatis.apache.org/javadownloads.cgi> ) before posting
here.  All of your questions are answered in the guide, or in the
javadocs for the api.


View raw message