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
PL/SQL procedure returns wrong result when combining boolean and record type as input #14839
Comments
Thanks a lot for your detailed report. I will look into this issue soon. |
Trying this now. I'm getting some entirely different problem:
Though not using the exact same version of the database and JDBC driver as you. Will investigate this right away. |
Ah, no, it's the same problem. The problem being that PROCEDURE boolean_with_type(
p_boolean IN BOOLEAN
p_address IN dev.boolean_test.t_rec_address,
p_output OUT VARCHAR2
); |
… boolean and record type as input"
Expected behavior
When calling a PL/SQL procedure with a record type input parameter and a boolean input parameter, the procedure returns an correct result and the input parameters are in correct order.
Actual behavior
When calling a PL/SQL procedure with a record type input parameter and a boolean input parameter, the procedure returns an incorrect result. Apparently, the filling of the input parameter in this constellation is incorrectly. This error seems to occur only in combination of record type and boolean. The combination of primitive types and Boolean behaves as expected.
Steps to reproduce the problem
jOOQ Version
jOOQ Professional Edition 3.18.0
Database product and version
Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Java Version
openjdk 17.0.6 2023-01-17
OS Version
Microsoft Windows [Version 10.0.19044.2728]
JDBC driver name and version (include name if unofficial driver)
com.oracle.database.jdbc:ojdbc8:19.18.0.0
The text was updated successfully, but these errors were encountered: