1.0

Table Of Contents
setTypeMap( java.util.Map )
java.sql.DatabaseMetaData Interface
The following sections describe java.sql.DatabaseMetaData functionality in SQLFire.
DatabaseMetaData Result Sets on page 333
java.sql.DatabaseMetaData.getProcedureColumns Method on page 333
Parameters to getProcedureColumns on page 333
java.sql.DatabaseMetaData.getBestRowIdentier Method on page 334
DatabaseMetaData Result Sets
DatabaseMetaData result sets do not close the result sets of other statements, even when auto-commit is set to
true.
DatabaseMetaData result sets are closed if a user performs any other action on a JDBC object that causes an
automatic commit to occur. If you need the DatabaseMetaData result sets to be accessible while executing other
actions that would cause automatic commits, turn off auto-commit with setAutoCommit(false).
java.sql.DatabaseMetaData.getProcedureColumns Method
SQLFire supports Java procedures and allows you to call Java procedures within SQL statements. SQLFire
returns information about the parameters in the getProcedureColumns call and returns information for all Java
procedures dened by CREATE PROCEDURE.
getProcedureColumns returns a ResultSet. Each row describes a single parameter or return value.
Parameters to getProcedureColumns
The JDBC API denes the following parameters for the getProcedureColumns method call.
Always use null for this parameter in SQLFire.catalog
Java procedures have a schema.schemaPattern
A String object representing a procedure name pattern.procedureNamePattern
A String object representing the name pattern of the parameter names or
return value names. Java procedures have parameter names matching those
column-Name-Pattern
dened in the CREATE PROCEDURE statement. Use "%" to nd all
parameter names.
Columns in the ResultSet Returned by getProcedureColumns
Columns in the ResultSet returned by getProcedureColumns are as described by the API. Further details for
some specic columns:
Always "null" in SQLFire.PROCEDURE_CAT
Schema for a Java procedure.PROCEDURE_SCHEM
Name of the procedure.PROCEDURE_NAME
Name of the parameter. See column-Name-Pattern under Parameters to
getProcedureColumns on page 333.
COLUMN_NAME
Short indicating what the row describes. It is always
DatabaseMetaData.procedureColumnIn for method parameters, unless
COLUMN_TYPE
333
JDBC API