Class MetaDataUtilities
java.lang.Object
org.tentackle.sql.metadata.MetaDataUtilities
Database metadata utility methods.
Replaceable by application-specific implementation via
Replaceable by application-specific implementation via
Service annotation.- Author:
- harald
-
Constructor Summary
ConstructorsConstructorDescriptionCreates the utilities.
Builds the map of JDBC type names. -
Method Summary
Modifier and TypeMethodDescriptionstatic MetaDataUtilitiesGets the singleton.booleanisReservedTable(String tableName) Returns whether the given table name is reserved by Tentackle.
The check is case-insensitive and ignores the schema.jdbcTypeToString(int jdbcType) Converts a JDBC type to a string.
-
Constructor Details
-
MetaDataUtilities
public MetaDataUtilities()Creates the utilities.
Builds the map of JDBC type names.
-
-
Method Details
-
getInstance
-
jdbcTypeToString
-
isReservedTable
Returns whether the given table name is reserved by Tentackle.
The check is case-insensitive and ignores the schema.- Parameters:
tableName- the table name, with or without schema- Returns:
- true if reserved
-