java.lang.Object
org.eclipse.persistence.internal.platform.database.oracle.TIMESTAMPTZWrapper
All Implemented Interfaces:
Serializable, PlatformWrapper

public class TIMESTAMPTZWrapper extends Object implements Serializable, PlatformWrapper
This class is used as a wrapper for TIMESTAMPTZ. It stores a Timestamp and a TimeZone. Bug#4364359 This wrapper is added to overcome TIMESTAMPTZ 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 Details

    • TIMESTAMPTZWrapper

      public TIMESTAMPTZWrapper(ZonedDateTime zonedDateTime)
  • Method Details

    • toLocalTime

      public LocalTime toLocalTime()
    • toLocalDate

      public LocalDate toLocalDate()
    • toLocalDateTime

      public LocalDateTime toLocalDateTime()
    • toOffsetTime

      public OffsetTime toOffsetTime()
    • toOffsetDateTime

      public OffsetDateTime toOffsetDateTime()
    • toCalendar

      public Calendar toCalendar()
    • getTimestamp

      public Timestamp getTimestamp()
    • getTimeZone

      public TimeZone getTimeZone()
    • getZoneId

      public ZoneId getZoneId()
    • unwrap

      public <T> T unwrap(Class<T> type)