|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.infoglue.cms.util.workflow.DatabaseSession
public class DatabaseSession
A database session controls the lifecycle of a wrapped database object.
| Constructor Summary | |
|---|---|
DatabaseSession()
Default constructor. |
|
| Method Summary | |
|---|---|
org.exolab.castor.jdo.Database |
getDB()
Returns the wrapped database. |
void |
releaseDB()
Releases the database. |
void |
setRollbackOnly()
Sets the rollback only flag to true. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DatabaseSession()
| Method Detail |
|---|
public void setRollbackOnly()
public org.exolab.castor.jdo.Database getDB()
throws com.opensymphony.workflow.WorkflowException
com.opensymphony.workflow.WorkflowException - if an error occurs during the initializing of the transaction/database.
public void releaseDB()
throws com.opensymphony.workflow.WorkflowException
com.opensymphony.workflow.WorkflowException - if an error occurs while releasing the transaction/database.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||