Export (0) Print
Expand All
Collapse the table of content
Expand the table of content
Expand Minimize

isWrapperFor Method (SQLServerStatement)

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

public boolean isWrapperFor(Class 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 an example code, see Updating Large Data Sample.

For more information, see Wrappers and Interfaces.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft