Interface FirebirdDatabaseMetaData

All Superinterfaces:
DatabaseMetaData, Wrapper
All Known Implementing Classes:
FBDatabaseMetaData

public interface FirebirdDatabaseMetaData extends DatabaseMetaData
Extension of DatabaseMetaData interface providing access to Firebird specific features.
Author:
Michael Romankiewicz
  • Method Details

    • getProcedureSourceCode

      String getProcedureSourceCode(String procedureName) throws SQLException
      Get the source of a stored procedure.
      Parameters:
      procedureName - name of the stored procedure.
      Returns:
      source of the stored procedure.
      Throws:
      SQLException - if specified procedure cannot be found.
    • getTriggerSourceCode

      String getTriggerSourceCode(String triggerName) throws SQLException
      Get the source of a trigger.
      Parameters:
      triggerName - name of the trigger.
      Returns:
      source of the trigger.
      Throws:
      SQLException - if specified trigger cannot be found.
    • getViewSourceCode

      String getViewSourceCode(String viewName) throws SQLException
      Get the source of a view.
      Parameters:
      viewName - name of the view.
      Returns:
      source of the view.
      Throws:
      SQLException - if specified view cannot be found.
    • getOdsMajorVersion

      int getOdsMajorVersion() throws SQLException
      Get the major version of the ODS (On-Disk Structure) of the database.
      Returns:
      The major version number of the database itself
      Throws:
      SQLException - if a database access error occurs
    • getOdsMinorVersion

      int getOdsMinorVersion() throws SQLException
      Get the minor version of the ODS (On-Disk Structure) of the database.
      Returns:
      The minor version number of the database itself
      Throws:
      SQLException - if a database access error occurs
    • getDatabaseDialect

      int getDatabaseDialect() throws SQLException
      Get the dialect of the database.
      Returns:
      The dialect of the database
      Throws:
      SQLException - if a database access error occurs
      See Also:
    • getConnectionDialect

      int getConnectionDialect() throws SQLException
      Get the dialect of the connection.

      The connection dialect may be different from the database dialect.

      Returns:
      The dialect of the connection
      Throws:
      SQLException - if a database access error occurs
      See Also:
    • close

      void close()
      Closes any cached metadata statements held by this database metadata implementation.

      The database metadata object itself remains usable. Exceptions during statement close are logged and suppressed.

    • getTableTypeNames

      String[] getTableTypeNames() throws SQLException
      Supported table type names.
      Returns:
      An array with the supported table types names for DatabaseMetaData.getTables(String, String, String, String[])
      Throws:
      SQLException - For problems determining supported table types
      Since:
      4.0
      See Also:
    • getMaxObjectNameLength

      int getMaxObjectNameLength() throws SQLException
      The default maximum identifier length.

      NOTE: This method reports the standard maximum length, and does not take into account restrictions configured through MaxIdentifierByteLength or MaxIdentifierCharLength.

      Returns:
      the (default) maximum identifier length
      Throws:
      SQLException