Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

问题:如何调用存储过程 #12

Closed
zhangxiao918 opened this issue Jun 10, 2016 · 5 comments
Closed

问题:如何调用存储过程 #12

zhangxiao918 opened this issue Jun 10, 2016 · 5 comments
Labels

Comments

@zhangxiao918
Copy link

mango 的开发者们,我这边想了解一下如何有调用存储过程,从注解的包中没有看到相关的类,同时使用@Sql("call producer()") 会报出异常,如下:
Caused by: org.jfaster.mango.exception.SqlParserException: Encountered " <TEXT> "call "" at line 1, column 1. Was expecting one of: "insert" ... "delete" ... "update" ... "select" ... "replace" ... "merge" ...

麻烦了!

@liangyanghe
Copy link
Member

hi,目前不支持存储过程的

@zhangxiao918
Copy link
Author

那能否提供一下在mango里有没有其他方式可以调用存储过程?

@liangyanghe
Copy link
Member

最近2个小版本暂时不考虑添加存储过程哈,目前不支持哟

@zhangxiao918
Copy link
Author

那如果使用mango中的jdbcTemplae,能否可以调用存储过程?

@liangyanghe
Copy link
Member

这个是可以的,但不建议如此使用

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants