com.github.marschall.threeten.jpa.package-info Maven / Gradle / Ivy
/**
* Contains JPA type converters Java 8 Date and Time API types.
*
* All the converters have set
* {@link javax.persistence.Converter#autoApply()} to {@code true} to
* they're automatically applied to all entities in the same persistence
* unit.
*
* We take inspiration from the JDBC 4.2 and currently support the following conversions:
*
* Supported type conversions
*
*
* ANSI SQL
* Java SE 8
* Converter
*
*
*
*
* DATE
* LocalDate
* {@link com.github.marschall.threeten.jpa.LocalDateConverter}
*
*
* TIME
* LocalTime
* {@link com.github.marschall.threeten.jpa.LocalTimeConverter}
*
*
* TIMESTAMP
* LocalDateTime
* {@link com.github.marschall.threeten.jpa.LocalDateTimeConverter}
*
*
* TIMESTAMP
* Instant
* {@link com.github.marschall.threeten.jpa.InstantConverter}
*
*
*
*/
package com.github.marschall.threeten.jpa;