remove dupe method declarations

This commit is contained in:
Gavin King 2024-11-14 11:51:49 +01:00
parent d20de1f5d7
commit b0ff5b1bec
2 changed files with 3 additions and 42 deletions

View File

@ -26,43 +26,4 @@ public interface ColumnInformation extends ColumnTypeInformation {
* @return The column simple identifier.
*/
Identifier getColumnIdentifier();
/**
* Is the column nullable.
* <p>
* 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();
}

View File

@ -45,7 +45,7 @@ public int getDecimalDigits() {
};
/**
* Is the column nullable.
* Is the column nullable?
* <p>
* The database is allowed to report unknown, hence the use of {@link Boolean}.
*
@ -65,9 +65,9 @@ public int getDecimalDigits() {
*
* @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).