[jOOQ/jOOQ#12117] ORA-06550 when calling a PL/SQL procedure with a %ROWTYPE parameter that has DATE fields when dateAsTimestamp=true and javaTimeTypes=true
This commit is contained in:
parent
40c82e51b7
commit
f22489e93e
@ -5076,8 +5076,8 @@ final class Tools {
|
||||
return;
|
||||
}
|
||||
|
||||
// [#12019] If dateAsTimestamp=true is active, we must declare a DATE instead.
|
||||
if (type.isTimestamp() && type.getBinding() instanceof DateAsTimestampBinding)
|
||||
// [#12019] [#12117] If dateAsTimestamp=true is active, we must declare a DATE instead.
|
||||
if (type.isTimestamp() && (type.getBinding() instanceof DateAsTimestampBinding || type.getBinding() instanceof LocalDateAsLocalDateTimeBinding))
|
||||
type = SQLDataType.DATE;
|
||||
|
||||
String typeName = type.getTypeName(ctx.configuration());
|
||||
|
||||
Loading…
Reference in New Issue
Block a user