fix mistake in Oracle timestamp rendering

we need to include the time zone
This commit is contained in:
Gavin 2023-02-20 16:39:45 +01:00 committed by Gavin King
parent 696bbf3ff8
commit f10d3e6841
1 changed files with 1 additions and 1 deletions

View File

@ -1257,7 +1257,7 @@ public class OracleDialect extends Dialect {
// offset we need to use the ANSI syntax
if ( precision == TemporalType.TIMESTAMP && temporalAccessor.isSupported( ChronoField.OFFSET_SECONDS ) ) {
appender.appendSql( "timestamp '" );
appendAsTimestampWithNanos( appender, temporalAccessor, supportsTemporalLiteralOffset(), jdbcTimeZone );
appendAsTimestampWithNanos( appender, temporalAccessor, true, jdbcTimeZone, false );
appender.appendSql( '\'' );
}
else {