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
Cannot receive multiple output parameters from stored procedure with @NamedStoredProcedureQuery [DATAJPA-1722] #2017
Comments
Any update on this issue using @procedure annotation? |
The example relies on downloading oracles jdbc driver which resolves as forbidden, it also doesn't come with a database. Please provide a reproducer that uses an in memory database or brings everything it needs with it, using for example Testcontainers. If the reproducer is highly database dependent it's likely that the issue is really one of the JPA implementation, i.e. Hibernate in this case. After all Spring Data JPA is based on JPA which is supposed to provide an abstraction over the different databases. |
If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed. |
Am on it...will create a quick in memory db setup and attach shortly. |
If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed. |
Closing due to lack of requested feedback. If you would like us to look at this issue, please provide the requested information and we will re-open the issue. |
AlexanderStepchkov opened DATAJPA-1722 and commented
I'm trying to receive out parameters from simple stored procedure (using Oracle 11g and/or MSSQL 2012).
Please check attached demo project for details.
Using annotations I always receive errors:
java.lang.IllegalArgumentException: OUT/INOUT parameter not available: x
java.lang.IllegalArgumentException: OUT/INOUT parameter not available: 1
However if I use entityManager's createStoredProcedureQuery method it works fine.
Link to SO https://stackoverflow.com/questions/61655464/spring-boot-data-jpa-receive-multiple-out-parameters-from-sql-servers-stored-pr
Affects: 2.2.7 (Moore SR7)
Attachments:
1 votes, 2 watchers
The text was updated successfully, but these errors were encountered: