ThreeTen Extra JPA Persistence

Utilities for persisting ThreeTen Extra data using JPA 2.2

Лицензия

Лицензия

Категории

Категории

ThreeTen-Extra Универсальные библиотеки Date and Time
Группа

Группа

com.stevenpaligo
Идентификатор

Идентификатор

threeten-extra-jpa
Последняя версия

Последняя версия

2.2.0
Дата

Дата

Тип

Тип

jar
Описание

Описание

ThreeTen Extra JPA Persistence
Utilities for persisting ThreeTen Extra data using JPA 2.2
Ссылка на сайт

Ссылка на сайт

https://github.com/stevenpaligo/threeten-extra-jpa
Система контроля версий

Система контроля версий

https://github.com/stevenpaligo/threeten-extra-jpa.git

Скачать threeten-extra-jpa

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/com.stevenpaligo/threeten-extra-jpa/ -->
<dependency>
    <groupId>com.stevenpaligo</groupId>
    <artifactId>threeten-extra-jpa</artifactId>
    <version>2.2.0</version>
</dependency>
// https://jarcasting.com/artifacts/com.stevenpaligo/threeten-extra-jpa/
implementation 'com.stevenpaligo:threeten-extra-jpa:2.2.0'
// https://jarcasting.com/artifacts/com.stevenpaligo/threeten-extra-jpa/
implementation ("com.stevenpaligo:threeten-extra-jpa:2.2.0")
'com.stevenpaligo:threeten-extra-jpa:jar:2.2.0'
<dependency org="com.stevenpaligo" name="threeten-extra-jpa" rev="2.2.0">
  <artifact name="threeten-extra-jpa" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.stevenpaligo', module='threeten-extra-jpa', version='2.2.0')
)
libraryDependencies += "com.stevenpaligo" % "threeten-extra-jpa" % "2.2.0"
[com.stevenpaligo/threeten-extra-jpa "2.2.0"]

Зависимости

compile (1)

Идентификатор библиотеки Тип Версия
org.threeten : threeten-extra jar 1.5.0

provided (1)

Идентификатор библиотеки Тип Версия
javax.persistence : javax.persistence-api jar 2.2

test (1)

Идентификатор библиотеки Тип Версия
org.junit.jupiter : junit-jupiter-engine jar 5.5.0

Модули Проекта

Данный проект не имеет модулей.

ThreeTen-Extra JPA

This project contains utilities for persisting objects from the ThreeTen-Extra library using the Java Persistence API (JPA).

Maven Central Javadoc License

Getting Started

Prerequisites

ThreeTen-Extra JPA requires Java 8+ and JPA. The first two portions of this project's version number correspond to the JPA version that is required (e.g. 2.2.0 requires JPA 2.2).

Installation

To include ThreeTen-Extra JPA in a Maven project, add the following dependency:

<dependencies>
  ...
  <dependency>
    <groupId>com.stevenpaligo</groupId>
    <artifactId>threeten-extra-jpa</artifactId>
    <version>${threeten-extra-jpa.version}</version>
  </dependency>
  ...
</dependencies>

For non-Maven projects, download the JAR from Maven's Central Repository. The list of dependencies can be found in the pom.xml file (see the source on GitHub)

Usage

Simply add this project as a Maven dependency or as a JAR on the classpath. The JPA converters will be discovered automatically.

The following table lists the valid combinations of ThreeTen-Extra classes and the database types:

ThreeTen-Extra Class JPA-Supported Type Database Type(s) Comments
TaiInstant BigDecimal DECIMAL, NUMERIC To correctly store the value, the database field must have a precision of 28 and a scale of 9
TaiInstant String CHAR, VARCHAR To correctly store the value, the database field must have a length of at least 35 characters
UtcInstant String CHAR, VARCHAR To correctly store the value, the database field must have a length of at least 30 characters

See the JavaDoc for more information.

Contributions

Contributions (bug reports, feature requests, etc.) are always welcome and should be coordinated through the GitHub Issues system.

Authors

See also the list of contributors who participated in this project.

License

This project is licensed under the Apache License Version 2.0. See the license file file for details.

Версии библиотеки

Версия
2.2.0