From b0ff5b1becdd13207927b09b1452afa879b13851 Mon Sep 17 00:00:00 2001 From: Gavin King Date: Thu, 14 Nov 2024 11:51:49 +0100 Subject: [PATCH] remove dupe method declarations --- .../schema/extract/spi/ColumnInformation.java | 39 ------------------- .../extract/spi/ColumnTypeInformation.java | 6 +-- 2 files changed, 3 insertions(+), 42 deletions(-) diff --git a/hibernate-core/src/main/java/org/hibernate/tool/schema/extract/spi/ColumnInformation.java b/hibernate-core/src/main/java/org/hibernate/tool/schema/extract/spi/ColumnInformation.java index 69c5e13b0b..e48867bc69 100644 --- a/hibernate-core/src/main/java/org/hibernate/tool/schema/extract/spi/ColumnInformation.java +++ b/hibernate-core/src/main/java/org/hibernate/tool/schema/extract/spi/ColumnInformation.java @@ -26,43 +26,4 @@ public interface ColumnInformation extends ColumnTypeInformation { * @return The column simple identifier. */ Identifier getColumnIdentifier(); - - /** - * Is the column nullable. - *

- * The database is allowed to report unknown, hence the use of {@link Boolean}. - * - * @return nullability, if known - */ - Boolean getNullable(); - - /** - * The JDBC type-code. - * - * @return JDBC type-code - */ - int getTypeCode(); - - /** - * The database specific type name. - * - * @return Type name - */ - String getTypeName(); - - // todo : wrap these in org.hibernate.metamodel.spi.relational.Size ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - - /** - * The column size (length). - * - * @return The column length - */ - int getColumnSize(); - - /** - * The precision, for numeric types - * - * @return The numeric precision - */ - int getDecimalDigits(); } diff --git a/hibernate-core/src/main/java/org/hibernate/tool/schema/extract/spi/ColumnTypeInformation.java b/hibernate-core/src/main/java/org/hibernate/tool/schema/extract/spi/ColumnTypeInformation.java index 16f645e9e2..9194470469 100644 --- a/hibernate-core/src/main/java/org/hibernate/tool/schema/extract/spi/ColumnTypeInformation.java +++ b/hibernate-core/src/main/java/org/hibernate/tool/schema/extract/spi/ColumnTypeInformation.java @@ -45,7 +45,7 @@ public interface ColumnTypeInformation { }; /** - * Is the column nullable. + * Is the column nullable? *

* The database is allowed to report unknown, hence the use of {@link Boolean}. * @@ -65,9 +65,9 @@ public interface ColumnTypeInformation { * * @return Type name */ - public String getTypeName(); + String getTypeName(); - // todo : wrap these in org.hibernate.metamodel.spi.relational.Size ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + // todo : wrap these in org.hibernate.metamodel.spi.relational.Size /** * The column size (length).