Hitachi

Hitachi Advanced Database Application Development Guide


12.2.3 unwrap(Class<T> iface)

Organization of this subsection

(1) Function

This method returns a specified class's object.

(2) Format

public synchronized <T> T unwrap(Class<T> iface) throws SQLException

(3) Arguments

Class<T> iface

Specifies a class to be checked.

(4) Return value

The method returns the specified class's object.

(5) Exceptions

If the specified class's object cannot be returned, the JDBC driver throws an SQLException.