[jOOQ/jOOQ#12019] ORA-06550 when calling a PL/SQL procedure with a %ROWTYPE parameter that has DATE fields when dateAsTimestamp=true
This commit is contained in:
parent
ae30587897
commit
0680d7e41f
@ -5043,6 +5043,10 @@ final class Tools {
|
||||
return;
|
||||
}
|
||||
|
||||
// [#12019] If dateAsTimestamp=true is active, we must declare a DATE instead.
|
||||
if (type.isTimestamp() && type.getBinding() instanceof DateAsTimestampBinding)
|
||||
type = SQLDataType.DATE;
|
||||
|
||||
String typeName = type.getTypeName(ctx.configuration());
|
||||
|
||||
// [#8070] Make sure VARCHAR(n) ARRAY types are generated as such in HSQLDB
|
||||
|
||||
Loading…
Reference in New Issue
Block a user