Thanks, the answers were very helpful! =)
Oh.... I didn't even notice, but your parameter is a String, which is immutable. You'd have to pass the parameter in as a Map or a POJO. Since Java doesn't support pass by reference, or out parameters, or mutable strings, there's no way around this. Clinton On Wed, Mar 24, 2010 at 9:15 PM, Clinton Begin <clinton.be...@gmail.com>wrote: > You have to tell iBATIS that it's a proc, and set the statement type to > CALLABLE and set the parameter to an output parameter, as follows: > > @Select(" ibatis3select(#{Currency*,mode=OUT*}) ") > *...@options(statementType = StatementType.CALLABLE)* > Integer selectACurrencyBatis3(String sCurrency ); > > Most procs will probably run without it, but for any proc specific > variables, like out parameters, you have to do this. > > Clinton -- View this message in context: http://old.nabble.com/IBatis-3.0-beta-10-%2B-annotations-%2B-stored-procedures-tp28012821p28024741.html Sent from the iBATIS - User - Java mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: user-java-unsubscr...@ibatis.apache.org For additional commands, e-mail: user-java-h...@ibatis.apache.org