Condividi tramite


isWrapperFor Method (SQLServerCallableStatement)

Indicates whether this statement object is a wrapper for the specified interface.

Nota

This feature is introduced starting with the Microsoft SQL Server JDBC Driver version 2.0.

public boolean isWrapperFor(Class iface)

Parametri

iface

A class defining an interface.

Valore restituito

true if this object implements the interface or wraps an object that implements the interface. Otherwise, false.

Eccezioni

SQLServerException

Osservazioni

The isWrapperFor method and the unwrap method are defined by the java.sql.Wrapper interface, which is introduced in the JDBC 4.0 Spec.

If this method returns true, calling unwrap with the same argument will succeed.

Vedere anche

Riferimento

unwrap Method (SQLServerCallableStatement)
SQLServerCallableStatement Class

Concetti

SQLServerCallableStatement Methods
SQLServerCallableStatement Members