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
-
Method Summary
Modifier and TypeMethodDescriptionstatic MetaDataUtilities
The singleton.boolean
isReservedTable
(String tableName) Returns whether the given tablename is reserved.jdbcTypeToString
(int jdbcType) Converts a jdbc type to a string.
-
Constructor Details
-
MetaDataUtilities
public MetaDataUtilities()
-
-
Method Details
-
getInstance
The singleton.- Returns:
- the singleton
-
jdbcTypeToString
Converts a jdbc type to a string.- Parameters:
jdbcType
- the jdbc type- Returns:
- the string, never null
-
isReservedTable
Returns whether the given tablename is reserved.- Parameters:
tableName
- the tablename, with or without schema- Returns:
- true if reserved
-