fix mistake in Oracle timestamp rendering
we need to include the time zone
This commit is contained in:
parent
696bbf3ff8
commit
f10d3e6841
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue