Skip to content

Commit 0db6136

Browse files
committed
add some @see annotations to Length
1 parent 51f1e2f commit 0db6136

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

hibernate-core/src/main/java/org/hibernate/Length.java

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,9 @@ public final class Length {
4242
* {@code @JdbcTypeCode(Types.LONGVARBINARY)}.
4343
*
4444
* @see org.hibernate.type.descriptor.java.JavaType#getLongSqlLength
45+
*
46+
* @see org.hibernate.type.SqlTypes#LONGVARCHAR
47+
* @see org.hibernate.type.SqlTypes#LONGVARBINARY
4548
*/
4649
public static final int LONG = 32_600;
4750
/**
@@ -60,12 +63,19 @@ public final class Length {
6063
* declared using
6164
* {@code @JdbcTypeCode(SqlTypes.LONG32VARCHAR)} or
6265
* {@code @JdbcTypeCode(SqlTypes.LONG32VARBINARY)}.
66+
*
67+
* @see org.hibernate.type.SqlTypes#LONG32VARCHAR
68+
* @see org.hibernate.type.SqlTypes#LONG32VARBINARY
6369
*/
6470
public static final int LONG32 = Integer.MAX_VALUE;
6571
/**
66-
* The default length for a LOB column.
72+
* The default length for a LOB column, on databases
73+
* where LOB columns have a length.
6774
*
6875
* @see org.hibernate.dialect.Dialect#getDefaultLobLength
76+
*
77+
* @see org.hibernate.type.SqlTypes#CLOB
78+
* @see org.hibernate.type.SqlTypes#BLOB
6979
*/
7080
public static final int LOB_DEFAULT = 1_048_576;
7181

0 commit comments

Comments
 (0)