Class TIMESTAMPLTZWrapper
java.lang.Object
org.eclipse.persistence.internal.platform.database.oracle.TIMESTAMPLTZWrapper
- All Implemented Interfaces:
Serializable,PlatformWrapper
This class is used as a wrapper for TIMESTAMPLTZ. It stores a Timestamp and a timezone id.
Bug#4364359 This wrapper is added to overcome TIMESTAMPLTZ not serializable as of jdbc 9.2.0.5 and 10.1.0.2.
It has been fixed in the next version for both streams
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionTIMESTAMPLTZWrapper(ZonedDateTime zonedDateTime, boolean isLtzTimestampInGmt) -
Method Summary
Modifier and TypeMethodDescriptionoracle.sql.TIMESTAMPLTZbuiltTimestampLtz(Connection connection) boolean<T> T
-
Constructor Details
-
TIMESTAMPLTZWrapper
public TIMESTAMPLTZWrapper(ZonedDateTime zonedDateTime, boolean isLtzTimestampInGmt) throws SQLException - Throws:
SQLException
-
-
Method Details
-
builtTimestampLtz
-
toLocalTime
-
toLocalDate
-
toLocalDateTime
-
toOffsetTime
-
toOffsetDateTime
-
toCalendar
-
getTimestamp
-
getTimeZone
-
getZoneId
-
isLtzTimestampInGmt
public boolean isLtzTimestampInGmt() -
unwrap
-