All the converters have set
Converter.autoApply()
to true
to
they're automatically applied to all entities in the same persistence
unit.
The Oracle driver module has to be visible to the deployment (eg Class Loading in WildFly).
ANSI SQL | Java SE 8 | Converter |
TIMESTAMP WITH TIME ZONE |
ZonedDateTime |
OracleZonedDateTimeConverter |
TIMESTAMP WITH TIME ZONE |
OffsetDateTime |
OracleOffsetDateTimeConverter |
INTERVAL YEAR TO MONTH |
Period |
OraclePeriodConverter |
INTERVAL DAY TO SECOND |
Duration |
OracleDurationConverter |
Oracle Version | Platform |
12c | PatchedOracle12Platform |
Class | Description |
---|---|
OracleDurationConverter |
Converts
INTERVALDS to Duration and back. |
OracleOffsetDateTimeConverter |
Converts
TIMESTAMPTZ to OffsetDateTime and back. |
OraclePeriodConverter |
Converts
INTERVALYM to Period and back. |
OracleZonedDateTimeConverter |
Converts
TIMESTAMPTZ to ZonedDateTime and back. |
PatchedOracle12Platform |
Work around for Bug 511999.
|
Copyright © 2014–2018. All rights reserved.