Quarkus - Hibernate types - Documentation

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

License

License

Categories

Categories

Quarkus Container Microservices Hibernate Data ORM
GroupId

GroupId

io.quarkiverse.hibernatetypes
ArtifactId

ArtifactId

quarkus-hibernate-types-docs
Last Version

Last Version

0.1.0
Release Date

Release Date

Type

Type

jar
Description

Description

Quarkus - Hibernate types - Documentation
Parent POM for Quarkiverse projects that includes the default release and artifact publishing related configuration
Project Organization

Project Organization

JBoss by Red Hat

Download quarkus-hibernate-types-docs

How to add to project

<!-- 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"]

Dependencies

compile (1)

Group / Artifact Type Version
io.quarkiverse.hibernatetypes : quarkus-hibernate-types-deployment jar 0.1.0

Project Modules

There are no modules declared in this project.

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

Versions

Version
0.1.0