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
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
#{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