Re: Oracle objects mapping in iBatis 3

2010-03-30 Thread Arpon
Samek Jiri - AZ Direct wrote: > > Hallo, > > I have a stored procedure in DB (running on Oracle) with one parameter - > an Oracle object: > > create or replace type TEST1STRING as object( > str VARCHAR(50) > ) > > create or replace > procedure test1(str IN OUT TEST1STRING) > IS > BEGIN

Re: IBatis 3.0 beta 10 + annotations + stored procedures

2010-03-25 Thread Arpon
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. C

IBatis 3.0 beta 10 + annotations + stored procedures

2010-03-24 Thread Arpon
#{Currency}) ") Integer selectACurrencyBatis3(String sCurrency ); Some DAO: Integer ret = ((ACurrencyObjDuro) pomDuro).selectACurrencyBatis3(sCurrency); Cheers, Arpon -- View this message in context: http://old.nabble.com/IBatis-3.0-beta-10-%2B-annotations-%2B-stored-procedures-tp28012821p28012821.htm