|
ArcGIS Server Geoportal extension 10
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.gpt.framework.sql.TransactionCounter
public final class TransactionCounter
Manages the transaction count for a multi-edit transaction.
| Constructor Summary | |
|---|---|
protected |
TransactionCounter()
Default constructor. |
| Method Summary | |
|---|---|
protected void |
commit(Connection con)
Handles the commit for the transaction. |
protected void |
increment()
Increments the transaction count by one. |
protected void |
prepare(Connection con)
Prepares the transaction count prior to any edits. |
protected void |
reset(Connection con)
Resets the transaction counter. |
protected void |
rollback(Connection con)
Handles the rollback for the transaction. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected TransactionCounter()
| Method Detail |
|---|
protected void commit(Connection con)
throws SQLException
con - the JDBC connection
SQLException - if an exception occursprotected void increment()
protected void prepare(Connection con)
throws SQLException
con - the JDBC connection
SQLException - if an exception occursprotected void reset(Connection con)
Auto commit is set to it's previous state for the connection.
con - the JDBC connectionprotected void rollback(Connection con)
con - the JDBC connection
|
ArcGIS Server Geoportal extension 10
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||