Package org.firebirdsql.jdbc
Interface StoredProcedureMetaData
-
public interface StoredProcedureMetaDataMeta-information on stored procedures in a Firebird database.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleancanGetSelectableInformation()Determine if the "selectability" of procedures is available.booleanisSelectable(java.lang.String procedureName)Retrieve whether a given stored procedure is selectable.
-
-
-
Method Detail
-
canGetSelectableInformation
boolean canGetSelectableInformation()
Determine if the "selectability" of procedures is available. This functionality is only available starting from Firebird 2.1, and only with databases created by that version or later.- Returns:
trueif selectability information is available,falseotherwise
-
isSelectable
boolean isSelectable(java.lang.String procedureName) throws java.sql.SQLExceptionRetrieve whether a given stored procedure is selectable.A selectable procedure is one that can return multiple rows of results (i.e. it uses a
SUSPENDstatement).- Parameters:
procedureName- The name of the procedure for which selectability information is to be retrieved- Returns:
trueif the procedure is selectable,falseotherwise- Throws:
java.sql.SQLException- If no selectability information is available
-
-