better docs for FormatMapper

This commit is contained in:
Gavin 2022-12-29 21:02:46 +01:00 committed by Gavin King
parent 9e8b24f691
commit 7dad0e38e2
5 changed files with 48 additions and 0 deletions

View File

@ -11,8 +11,19 @@ import org.hibernate.type.descriptor.java.JavaType;
/**
* A mapper for mapping objects to and from a format.
* <ul>
* <li>A {@code FormatMapper} for JSON may be selected using the configuration
* property {@value org.hibernate.cfg.AvailableSettings#JSON_FORMAT_MAPPER}.
* <li>A {@code FormatMapper} for XML may be selected using the configuration
* property {@value org.hibernate.cfg.AvailableSettings#XML_FORMAT_MAPPER}.
* </ul>
*
*
* @see org.hibernate.cfg.AvailableSettings#JSON_FORMAT_MAPPER
* @see org.hibernate.cfg.AvailableSettings#XML_FORMAT_MAPPER
*
* @see org.hibernate.boot.spi.SessionFactoryOptions#getJsonFormatMapper()
* @see org.hibernate.boot.spi.SessionFactoryOptions#getXmlFormatMapper()
*
* @author Christian Beikov
*/

View File

@ -0,0 +1,11 @@
/*
* Hibernate, Relational Persistence for Idiomatic Java
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
*/
/**
* Implementations of {@link org.hibernate.type.FormatMapper} using Jackson.
*/
package org.hibernate.type.jackson;

View File

@ -0,0 +1,11 @@
/*
* Hibernate, Relational Persistence for Idiomatic Java
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
*/
/**
* An implementations of {@link org.hibernate.type.FormatMapper} using Jakarta JSON.
*/
package org.hibernate.type.jakartajson;

View File

@ -0,0 +1,11 @@
/*
* Hibernate, Relational Persistence for Idiomatic Java
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
*/
/**
* An implementations of {@link org.hibernate.type.FormatMapper} using JAXB.
*/
package org.hibernate.type.jaxb;

View File

@ -14,5 +14,9 @@
* <li>a {@link org.hibernate.type.descriptor.java.JavaType}, with a
* <li>a {@link org.hibernate.type.descriptor.jdbc.JdbcType}.
* </ul>
*
* @see org.hibernate.type.Type
* @see org.hibernate.type.SqlTypes
* @see org.hibernate.type.FormatMapper
*/
package org.hibernate.type;