|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.mysql.jdbc.MysqlSavepoint
public class MysqlSavepoint
Represents SQL SAVEPOINTS in MySQL.
Constructor Summary | |
---|---|
MysqlSavepoint()
Creates an unnamed savepoint. |
|
MysqlSavepoint(java.lang.String name)
Creates a named savepoint |
Method Summary | |
---|---|
int |
getSavepointId()
|
java.lang.String |
getSavepointName()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
MysqlSavepoint() throws java.sql.SQLException
conn
-
java.sql.SQLException
- if an error occursMysqlSavepoint(java.lang.String name) throws java.sql.SQLException
name
- the name of the savepoint.
java.sql.SQLException
- if name == null or is empty.Method Detail |
---|
public int getSavepointId() throws java.sql.SQLException
getSavepointId
in interface java.sql.Savepoint
java.sql.SQLException
Savepoint.getSavepointId()
public java.lang.String getSavepointName() throws java.sql.SQLException
getSavepointName
in interface java.sql.Savepoint
java.sql.SQLException
Savepoint.getSavepointName()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |