Closed hesselink closed 2 years ago
Thanks a lot for your report.
To help try reproducing this, can you please provide your DDL (CREATE TABLE
) for TABLE
, BLAH
, THING
, SOMETHING
, and all the TABLE
/ VARRAY
/ OBJECT
types that may be involved here?
Note: A lot of things have improved with the INSERT .. RETURNING
implementation since jOOQ 3.11, can you confirm this particular issue is still present in 3.15.5?
The issue looks like it might be related to or a duplicate of #5543, but I wasn't sure so decided to file.
I don't think these are related. The other issue is about an ojdbc bug. This one looks like an unsupported feature in ojdbc.
Duplicate of https://github.com/jOOQ/jOOQ/issues/13473, which was fixed in jOOQ 3.17.0, 3.16.7 (https://github.com/jOOQ/jOOQ/issues/13474), and 3.15.11 (https://github.com/jOOQ/jOOQ/issues/13475)
Expected behavior
An Oracle insert query with a returning clause works and doesn't log an exception.
Actual behavior
The query still seems to work, but logs an exception.
Steps to reproduce the problem
We had a query like this:
On Oracle (using ojdbc8) we found that, while the code seemed to function, it was logging an exception at INFO level:
It looks like jooq tries to work around an Oracle issue for
LONGVARCHAR
andLONGVARBINARY
columns ininitLongIndexes
, where it callsgetMetaData
, but that is implemented to throw in the Oracle driver forArrayDataResultSet
.The issue looks like it might be related to or a duplicate of #5543, but I wasn't sure so decided to file.
Versions