Enum Class AmbiguousTimestampBindingStrategy

java.lang.Object
java.lang.Enum<AmbiguousTimestampBindingStrategy>
com.pyranid.AmbiguousTimestampBindingStrategy
All Implemented Interfaces:
Serializable, Comparable<AmbiguousTimestampBindingStrategy>, Constable

Controls how Instant and OffsetDateTime parameters are bound when JDBC ParameterMetaData cannot identify whether the target column is TIMESTAMP or TIMESTAMP WITH TIME ZONE. Metadata describing a non-timestamp type, such as VARCHAR or DATE, is also ambiguous for these instant-bearing parameters. Positively identified zoned timestamps always retain their zone semantics.

Oracle's recognized internal metadata-parser failure is handled separately: if it removes identifying temporal target metadata, binding fails instead of applying this preference. Use an explicit SQL cast exposing the target timestamp family or a custom binder. Ordinary unsupported/nonidentifying Oracle metadata, including MERGE metadata, still follows this strategy.

Since:
4.2.0
Author:
Mark Allen