Share via


Connection.getCatalog

Interface Overview | Interface Members | This Package | All Packages

Syntax

public abstract String getCatalog() throws SQLException

Returns

the current catalog name or null

Description

Return the Connection's current catalog name.

Exceptions

SQLException if a database-access error occurs.