Expand Minimize
This topic has not yet been rated - Rate this topic

isWrapperFor Method (SQLServerCallableStatement)

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

NoteNote

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


public boolean isWrapperFor(Class iface)

iface

A class defining an interface.

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

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

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

For more information, see Wrappers and Interfaces.

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.