From 0db6136c471f899a41986db1df162b457d1e2ec4 Mon Sep 17 00:00:00 2001 From: Gavin Date: Thu, 22 Dec 2022 14:35:37 +0100 Subject: [PATCH] add some @see annotations to Length --- .../src/main/java/org/hibernate/Length.java | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/hibernate-core/src/main/java/org/hibernate/Length.java b/hibernate-core/src/main/java/org/hibernate/Length.java index 04bc6866b0..a0d26e1e82 100644 --- a/hibernate-core/src/main/java/org/hibernate/Length.java +++ b/hibernate-core/src/main/java/org/hibernate/Length.java @@ -42,6 +42,9 @@ public final class Length { * {@code @JdbcTypeCode(Types.LONGVARBINARY)}. * * @see org.hibernate.type.descriptor.java.JavaType#getLongSqlLength + * + * @see org.hibernate.type.SqlTypes#LONGVARCHAR + * @see org.hibernate.type.SqlTypes#LONGVARBINARY */ public static final int LONG = 32_600; /** @@ -60,12 +63,19 @@ public final class Length { * declared using * {@code @JdbcTypeCode(SqlTypes.LONG32VARCHAR)} or * {@code @JdbcTypeCode(SqlTypes.LONG32VARBINARY)}. + * + * @see org.hibernate.type.SqlTypes#LONG32VARCHAR + * @see org.hibernate.type.SqlTypes#LONG32VARBINARY */ public static final int LONG32 = Integer.MAX_VALUE; /** - * The default length for a LOB column. + * The default length for a LOB column, on databases + * where LOB columns have a length. * * @see org.hibernate.dialect.Dialect#getDefaultLobLength + * + * @see org.hibernate.type.SqlTypes#CLOB + * @see org.hibernate.type.SqlTypes#BLOB */ public static final int LOB_DEFAULT = 1_048_576;