Condividi tramite


setSavepoint Method (java.lang.String)

Creates a savepoint with the given name in the current transaction, and returns the new SQLServerSavepoint object that represents it.

public java.sql.Savepoint setSavepoint(java.lang.String sName)

Parametri

sName

A String value that contains the name of the savepoint.

Valore restituito

A SavePoint object.

Eccezioni

SQLServerException

Osservazioni

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

The sName argument is automatically escaped by the Microsoft SQL Server JDBC Driver.

Vedere anche

Riferimento

SQLServerConnection Class

Concetti

setSavepoint Method (SQLServerConnection)
SQLServerConnection Methods
SQLServerConnection Members