Hitachi

Hitachi Advanced Database Application Development Guide


8.6.79 getTableTypes()

Organization of this subsection

(1) Function

This method acquires the table types.

(2) Format

public synchronized ResultSet getTableTypes() throws SQLException

(3) Arguments

None.

(4) Return value

The method returns a ResultSet object. The following table shows the format of the ResultSet object that is returned.

Table 8‒65: Format of the ResultSet object that is returned (getTableTypes method)

Column No.

Type

Column name

Description

1

String

TABLE_TYPE

Table type:

  • TABLE: Base table

  • VIEW: Viewed table

  • SYSTEM TABLE: Dictionary table or system table

(5) Exceptions

If this Connection object is closed before this method is executed, the JDBC driver throws an SQLException.