Class MetaDataUtilities


  • @Service(MetaDataUtilities.class)
    public class MetaDataUtilities
    extends java.lang.Object
    Database metadata utility methods.
    Replaceable by application specific implementation via Service annotation.
    Author:
    harald
    • Constructor Detail

      • MetaDataUtilities

        public MetaDataUtilities()
    • Method Detail

      • getInstance

        public static MetaDataUtilities getInstance()
        The singleton.
        Returns:
        the singleton
      • jdbcTypeToString

        public java.lang.String jdbcTypeToString​(int jdbcType)
        Converts a jdbc type to a string.
        Parameters:
        jdbcType - the jdbc type
        Returns:
        the string, never null
      • isReservedTable

        public boolean isReservedTable​(java.lang.String tableName)
        Returns whether the given tablename is reserved.
        Parameters:
        tableName - the tablename, with or without schema
        Returns:
        true if reserved