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

Unable to call a procedure which does not return a value using JPArepositories [JDBC580] #611

Closed
firebird-issue-importer opened this issue Apr 1, 2019 · 2 comments

Comments

@firebird-issue-importer
Copy link

@firebird-issue-importer firebird-issue-importer commented Apr 1, 2019

Submitted by: mitra (mitra)

Unable to call a procedure which does not return a value using JPARepositorie - @procedure annotation in java

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Apr 1, 2019

Commented by: @mrotteveel

Unfortunately, that is a limitation of spring-data-jpa @procedure annotation. It only works for executable stored procedures with a single return value. So no return column, multiple return columns or selectable procedures will not work with it. This is something that would need to be fixed in spring-data-jpa. Alternatively, use @query(.., nativeQuery=true) instead.

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Apr 1, 2019

Modified by: @mrotteveel

status: Open [ 1 ] => Closed [ 6 ]

resolution: Won't Fix [ 2 ]

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

Successfully merging a pull request may close this issue.

None yet
2 participants