How should I call the following stored procedure(sqlserver 2008 r2) in springboot, mybatis with annotation
--
the "TbType_Order" is a User-Defined Table Type
I try to call using this way:
but jdbc say "variable @p1 already declared" and I try use type handler :
then change the select method:
but jdbc exception is: Operand type conflict: table type is not compatible with int What should I do to get it right? You received this message because you are subscribed to the Google Groups "mybatis-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To view this discussion on the web visit https://groups.google.com/d/msgid/mybatis-user/59b00afa-98ac-42e2-9fae-1205f419944c%40googlegroups.com. |
test: debug:error run:ok ==== config file :mybatis.type-handlers-package=com.xxxx.xxxxtypehandler Ricky Paranoid <[hidden email]> 于 2019年12月21日周六 上午11:56写道:
You received this message because you are subscribed to the Google Groups "mybatis-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To view this discussion on the web visit https://groups.google.com/d/msgid/mybatis-user/CAMs%3DbOjkZ4RuFrfi2rH6-87MBjAHQOM2VemLhdOn%3DTgW%3DKwDVg%40mail.gmail.com. |
In reply to this post by Ricky Paranoid
Just for future reference, I left a comment on the same question on StackOverflow: And the following answer seemed to help (another use case of 'unwrap' method). On Sat, Dec 21, 2019 at 12:56 Ricky Paranoid <[hidden email]> wrote:
You received this message because you are subscribed to the Google Groups "mybatis-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To view this discussion on the web visit https://groups.google.com/d/msgid/mybatis-user/CA%2Buep2SPraoUVzY5ywGaJQG71XBsY9VP4hjYsnUvwxcaJkNJEg%40mail.gmail.com. |
Sorry for replying so late
-- I also asked stackoverflow questions thanks for your help,it works, great!!! 在 2019年12月23日星期一 UTC+8下午10:40:33,Iwao AVE!写道:
You received this message because you are subscribed to the Google Groups "mybatis-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To view this discussion on the web visit https://groups.google.com/d/msgid/mybatis-user/57c5aed4-f5af-40fc-90dc-930f1f454d18%40googlegroups.com. |
Free forum by Nabble | Edit this page |