org.firebirdsql.jdbc

Interface FirebirdDatabaseMetaData

All Superinterfaces:
DatabaseMetaData
Known Implementing Classes:
FBDatabaseMetaData

public interface FirebirdDatabaseMetaData
extends DatabaseMetaData

Extension of DatabaseMetaData interface providing access to Firebird specific features.
Author:
Michael Romankiewicz

Method Summary

int
getDatabaseMajorVersion()
Retrieves the major version number of the underlying database.
int
getDatabaseMinorVersion()
Retrieves the minor version number of the underlying database.
String
getProcedureSourceCode(String procedureName)
Get the source of a stored procedure.
String
getTriggerSourceCode(String triggerName)
Get the source of a trigger.
String
getViewSourceCode(String viewName)
Get the source of a view.

Method Details

getDatabaseMajorVersion

public int getDatabaseMajorVersion()
            throws SQLException
Retrieves the major version number of the underlying database.
Returns:
the underlying database's major version

getDatabaseMinorVersion

public int getDatabaseMinorVersion()
            throws SQLException
Retrieves the minor version number of the underlying database.
Returns:
underlying database's minor version

getProcedureSourceCode

public 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.

getTriggerSourceCode

public String getTriggerSourceCode(String triggerName)
            throws SQLException
Get the source of a trigger.
Parameters:
triggerName - name of the trigger.
Returns:
source of the trigger.

getViewSourceCode

public String getViewSourceCode(String viewName)
            throws SQLException
Get the source of a view.
Parameters:
viewName - name of the view.
Returns:
source of the view.

Copyright B) 2001 David Jencks and other authors. All rights reserved.