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
Wrong kotlin code generated for SQL Server stored procedures #13804
Comments
Thanks a lot for your report. To exclude anything specific to this particular stored procedure of yours, can you please post the procedure definition? (The body isn't needed, only the signature) |
I'm not very familiar with stored procedures in SQL Server, lmk if you need more than this:
|
Sorry for the delay in this. I'll look into this right away now. |
The problem is that setSyntheticReturnParameter(RETURN_VALUE) |
The workaround is to use the |
Expected behavior
Generated Routines for stored procedures compile
Actual behavior
Generated Routines for stored procedures can fail compilation with:
Unresolved reference: syntheticReturnParameter
Steps to reproduce the problem
I'm thinking that this is a bug rather than a configuration issue, but if it's not feel free to close/re-direct me to stack overflow.
Running generate*Jooq is creating Routine files with:
where
syntheticReturnParameter
is an unresolved reference:This using the gradle jooq plugin:
id("nu.studer.jooq") version "7.1.1"
Versions
iOS 12.4
com.microsoft.sqlserver.jdbc.SQLServerDriver
The text was updated successfully, but these errors were encountered: