Quarkus - Hibernate types - Documentation

Parent POM for Quarkiverse projects that includes the default release and artifact publishing related configuration

Лицензия

Лицензия

Категории

Категории

Quarkus Контейнер Микросервисы Hibernate Данные ORM
Группа

Группа

io.quarkiverse.hibernatetypes
Идентификатор

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

quarkus-hibernate-types-docs
Последняя версия

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

0.1.0
Дата

Дата

Тип

Тип

jar
Описание

Описание

Quarkus - Hibernate types - Documentation
Parent POM for Quarkiverse projects that includes the default release and artifact publishing related configuration
Организация-разработчик

Организация-разработчик

JBoss by Red Hat

Скачать quarkus-hibernate-types-docs

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

<!-- https://jarcasting.com/artifacts/io.quarkiverse.hibernatetypes/quarkus-hibernate-types-docs/ -->
<dependency>
    <groupId>io.quarkiverse.hibernatetypes</groupId>
    <artifactId>quarkus-hibernate-types-docs</artifactId>
    <version>0.1.0</version>
</dependency>
// https://jarcasting.com/artifacts/io.quarkiverse.hibernatetypes/quarkus-hibernate-types-docs/
implementation 'io.quarkiverse.hibernatetypes:quarkus-hibernate-types-docs:0.1.0'
// https://jarcasting.com/artifacts/io.quarkiverse.hibernatetypes/quarkus-hibernate-types-docs/
implementation ("io.quarkiverse.hibernatetypes:quarkus-hibernate-types-docs:0.1.0")
'io.quarkiverse.hibernatetypes:quarkus-hibernate-types-docs:jar:0.1.0'
<dependency org="io.quarkiverse.hibernatetypes" name="quarkus-hibernate-types-docs" rev="0.1.0">
  <artifact name="quarkus-hibernate-types-docs" type="jar" />
</dependency>
@Grapes(
@Grab(group='io.quarkiverse.hibernatetypes', module='quarkus-hibernate-types-docs', version='0.1.0')
)
libraryDependencies += "io.quarkiverse.hibernatetypes" % "quarkus-hibernate-types-docs" % "0.1.0"
[io.quarkiverse.hibernatetypes/quarkus-hibernate-types-docs "0.1.0"]

Зависимости

compile (1)

Идентификатор библиотеки Тип Версия
io.quarkiverse.hibernatetypes : quarkus-hibernate-types-deployment jar 0.1.0

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

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

Quarkus Hibernate types

Build License Central All Contributors

Usage

To use the extension, add the dependency to the target project:

<dependency>
  <groupId>io.quarkiverse.hibernatetypes</groupId>
  <artifactId>quarkus-hibernate-types</artifactId>
  <version>{latest-maven-release}</version>
</dependency>

Simple usage

import io.quarkiverse.hibernate.types.json.JsonBinaryType;
import io.quarkiverse.hibernate.types.json.JsonType;
import io.quarkiverse.hibernate.types.json.JsonTypes;

@Entity
@TypeDef(name = JsonTypes.JSON, typeClass = JsonType.class)
@TypeDef(name = JsonTypes.JSON_BIN, typeClass = JsonBinaryType.class)
public class MyEntity {

    @Id
    @Column(name = "ID")
    private String id;

    @Type(type = JsonTypes.JSON_BIN)
    @Column(name = "PARAM", columnDefinition = JsonTypes.JSON_BIN)
    private MyParam param;
}
public class MyParam {

    private String id;

    private String name;
}

Contributors

Thanks goes to these wonderful people (emoji key):


Andrej Petras

💻 🚧

This project follows the all-contributors specification. Contributions of any kind welcome!

io.quarkiverse.hibernatetypes

Quarkiverse Hub

A place to host and build Quarkus extensions

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

Версия
0.1.0