Class SqlUtil.DatabaseMetaDataInvocationHandler

  • All Implemented Interfaces:
    java.lang.reflect.InvocationHandler
    Enclosing class:
    SqlUtil

    public static class SqlUtil.DatabaseMetaDataInvocationHandler
    extends BarfingInvocationHandler
    Handles particular DatabaseMetaData methods; invocations of other methods will fall through to the base class, BarfingInvocationHandler, which will throw an error.
    • Field Detail

      • databaseProductName

        private final java.lang.String databaseProductName
      • identifierQuoteString

        private final java.lang.String identifierQuoteString
    • Constructor Detail

      • DatabaseMetaDataInvocationHandler

        public DatabaseMetaDataInvocationHandler​(java.lang.String databaseProductName,
                                                 java.lang.String identifierQuoteString)
    • Method Detail

      • getDatabaseProductName

        public java.lang.String getDatabaseProductName()
                                                throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • getIdentifierQuoteString

        public java.lang.String getIdentifierQuoteString()
                                                  throws java.sql.SQLException
        Throws:
        java.sql.SQLException