Calling pl/sql function with mybatis 3

后端 未结 2 599
感动是毒
感动是毒 2020-12-30 14:51

I have a function that returns a boolean value in pl/sql. I have tried to get directly that boolean value without success, so now I\'m trying to convert it to string (I do

2条回答
  •  我在风中等你
    2020-12-30 15:51

    The #{} syntax can only be used for parameter substitution. It is not a variable that gets set after the execution of the PL/SQL. It can only be set before the prepared statement is built.

    One way of going forward would be to use stored procedure and use an OUT param to get your result out.

提交回复
热议问题