Share via


isWrapperFor Method (SQLServerStatement)

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

참고

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.

예외

SQLServerException

주의

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.

For an example code, see 큰 데이터 업데이트 샘플.

참고

참조

unwrap Method (SQLServerStatement)
SQLServerStatement Class

개념

SQLServerStatement Methods
SQLServerStatement Members