- primaryCatalog
- a catalog name for the primary key table. null is used to imply no narrowing of the search by catalog name. Otherwise, the name must match a catalog name held in the database, with "" used to retrieve those without a catalog name.
- primarySchema
- a schema name for the primary key table. null is used to imply no narrowing of the search by schema name. Otherwise, the name must match a schema name in the database, with "" used to retrieve those without a schema name.
- primaryTable
- the name of the table which exports the key. It must match the name of the table in the database.
- foreignCatalog
- a catalog name for the foreign key table. null is used to imply no narrowing of the search by catalog name. Otherwise, the name must match a catalog name held in the database, with "" used to retrieve those without a catalog name.
- foreignSchema
- a schema name for the foreign key table. null is used to imply no narrowing of the search by schema name. Otherwise, the name must match a schema name in the database, with "" used to retrieve those without a schema name.
- foreignTable
- the name of the table importing the key. It must match the name of the table in the database.
Documentation for this section has not yet been entered.
Type Reason Java.Sql.SQLException if there is a database error.
Returns a list of foreign key columns in a given foreign key table that reference the primary key columns of a supplied primary key table. This describes how one table imports the key of another table. It would be expected to return a single foreign key - primary key pair in most cases.
The descriptions are returned as a ResultSet with one row for each foreign key, with the following layout: