Class DatabaseMetaDataHelper


  • public class DatabaseMetaDataHelper
    extends java.lang.Object
    Helper class to collect all of our DatabaseMetaData interpretations in one place.
    Author:
    sfrensley
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getSchema​(java.sql.Connection connection)
      Tries to determine the schema name from the DatabaseMetaData obtained from the Connection.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DatabaseMetaDataHelper

        public DatabaseMetaDataHelper()
    • Method Detail

      • getSchema

        public java.lang.String getSchema​(java.sql.Connection connection)
        Tries to determine the schema name from the DatabaseMetaData obtained from the Connection.
        Parameters:
        connection - A database connection
        Returns:
        String