Freigeben über


createStatement Method (int, int, int)

Creates a SQLServerStatement object that generates SQLServerResultSet objects with the given type, concurrency, and holdability.

public java.sql.Statement createStatement(int nType,
                                          int nConcur,
                                          int nHold)

Parameter

resultSetType

The int value that represents the result set type.

nConcur

The int value that represents the result set concurrency type.

nHold

The int value that represents the holdability.

Rückgabewert

The Statement object.

Ausnahmen

SQLServerException

Hinweise

This createStatement method is specified by the createStatement method in the java.sql.Connection interface.

Siehe auch

Referenz

SQLServerConnection Class

Konzepte

createStatement Method (SQLServerConnection)
SQLServerConnection Methods
SQLServerConnection Members