minor improvements to Javadoc

This commit is contained in:
Gavin King 2023-12-12 17:58:27 +01:00
parent 5ca64dba8b
commit 39c2ab2747
7 changed files with 13 additions and 5 deletions

View File

@ -33,8 +33,8 @@ import static java.lang.annotation.RetentionPolicy.RUNTIME;
* For other collection mappings, describes the elements
* </li>
* <li>
* For discriminated association mappings (`@Any` and `@ManyToAny`), describes the discriminator
* value.
* For discriminated association mappings ({@link Any @Any} and {@link ManyToAny @ManyToAny}), describes the
* discriminator value.
* </li>
* </ul>
*

View File

@ -36,8 +36,8 @@ import static java.lang.annotation.RetentionPolicy.RUNTIME;
* For other collection mappings, describes the elements
* </li>
* <li>
* For discriminated association mappings (`@Any` and `@ManyToAny`), describes the discriminator
* value.
* For discriminated association mappings ({@link Any @Any} and {@link ManyToAny @ManyToAny}), describes the
* discriminator value.
* </li>
* </ul>
* <p>

View File

@ -196,7 +196,7 @@ public class JoinedSubclassEntityPersister extends AbstractEntityPersister {
final Dialect dialect = creationContext.getDialect();
final SqmFunctionRegistry functionRegistry = creationContext.getFunctionRegistry();
final TypeConfiguration typeConfiguration = creationContext.getTypeConfiguration();
final BasicTypeRegistry basicTypeRegistry = creationContext.getTypeConfiguration().getBasicTypeRegistry();
final BasicTypeRegistry basicTypeRegistry = typeConfiguration.getBasicTypeRegistry();
// DISCRIMINATOR

View File

@ -16,6 +16,8 @@ import org.hibernate.type.descriptor.jdbc.JdbcType;
/**
* Descriptor for {@link Boolean} handling.
*
* @see org.hibernate.cfg.AvailableSettings#PREFERRED_BOOLEAN_JDBC_TYPE
*
* @author Steve Ebersole
*/
public class BooleanJavaType extends AbstractClassJavaType<Boolean> implements

View File

@ -29,6 +29,8 @@ import org.hibernate.type.descriptor.jdbc.JdbcTypeIndicators;
* Java {@link Duration} to SQL {@code numeric(21)} here, which
* can comfortably represent 60 millennia of nanos.
*
* @see org.hibernate.cfg.AvailableSettings#PREFERRED_DURATION_JDBC_TYPE
*
* @author Steve Ebersole
* @author Gavin King
*/

View File

@ -29,6 +29,8 @@ import org.hibernate.type.spi.TypeConfiguration;
/**
* Java type descriptor for the Java {@link Instant} type.
*
* @see org.hibernate.cfg.AvailableSettings#PREFERRED_INSTANT_JDBC_TYPE
*
* @author Steve Ebersole
*/
public class InstantJavaType extends AbstractTemporalJavaType<Instant>

View File

@ -18,6 +18,8 @@ import org.hibernate.type.descriptor.jdbc.JdbcTypeIndicators;
/**
* Descriptor for {@link UUID} handling.
*
* @see org.hibernate.cfg.AvailableSettings#PREFERRED_UUID_JDBC_TYPE
*
* @author Steve Ebersole
*/
public class UUIDJavaType extends AbstractClassJavaType<UUID> {