|
Business Components | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.jbo.server.NullDBTransactionImpl
Internal: Applications should not use this class.
Field Summary | |
protected ConnectionCredentials |
mConnectionCredentials
|
Fields inherited from interface oracle.jbo.Transaction |
LOCK_NONE,
LOCK_OPTIMISTIC,
LOCK_PESSIMISTIC |
Constructor Summary | |
NullDBTransactionImpl()
|
Method Summary | |
void |
addToValidationListeners(ValidationListener w)
Implementation of the DBTransaction interface. |
void |
addTransactionListener(TransactionListener listener)
Implementation of the DBTransaction interface. |
void |
addTransactionListenerNoCheck(TransactionListener listener)
Implementation of the DBTransaction interface. |
void |
addTransactionPostListener(TransactionPostListener listener)
Implementation of the DBTransaction interface. |
void |
addTransactionPostListenerNoCheck(TransactionPostListener listener)
Implementation of the DBTransaction interface. |
void |
addWarning(JboWarning warn)
Implementation of the DBTransaction interface. |
void |
closeTransaction()
Implementation of the DBTransaction interface. |
void |
commit()
Implementation of the DBTransaction interface. |
void |
connect(java.sql.Connection sqlConnection)
Implementation of the DBTransaction interface. |
void |
connect(java.lang.String url)
Implementation of the DBTransaction interface. |
void |
connect(java.lang.String url,
java.util.Properties info)
Implementation of the DBTransaction interface. |
void |
connect(java.lang.String url,
java.lang.String user,
java.lang.String password)
Implementation of the DBTransaction interface. |
ApplicationModule |
createApplicationModule(java.lang.String defName)
Implementation of the DBTransaction interface. |
java.sql.CallableStatement |
createCallableStatement(java.lang.String str,
int noRowsPrefetch)
Implementation of the DBTransaction interface. |
EntityImpl |
createEntityInstance(EntityDefImpl entityDef,
AttributeList al)
Implementation of the DBTransaction interface. |
EntityImpl |
createEntityInstance(java.lang.String entityDefName,
AttributeList al)
Implementation of the DBTransaction interface. |
java.sql.PreparedStatement |
createPreparedStatement(java.lang.String str,
int noRowsPrefetch)
Implementation of the DBTransaction interface. |
java.lang.Object |
createRef(java.lang.String structName,
byte[] data)
Internal: Applications should not use this method. |
java.sql.Statement |
createStatement(int noRowsPrefetch)
Implementation of the DBTransaction interface. |
ViewLink |
createViewLink(java.lang.String viewLinkDefName,
ViewObject master,
ViewObject detail)
Implementation of the DBTransaction interface. |
ViewLink |
createViewLinkBetweenViewObjects(java.lang.String accessorName,
ViewObject master,
AttributeDef[] srcAttrs,
ViewObject detail,
AttributeDef[] destAttrs,
java.lang.String assocClause)
Implementation of the DBTransaction interface. |
ViewLink |
createViewLinkFromEntityAssocName(java.lang.String entityAssocName,
ViewObject master,
ViewObject detail)
Implementation of the DBTransaction interface. |
ViewObject |
createViewObject(java.lang.String voDefName)
Implementation of the DBTransaction interface. |
ViewObject |
createViewObjectFromQueryClauses(java.lang.String eoName,
java.lang.String selectClause,
java.lang.String fromClause,
java.lang.String whereClause,
java.lang.String orderByClause)
Implementation of the DBTransaction interface. |
ViewObject |
createViewObjectFromQueryStmt(java.lang.String sqlStatement)
Implementation of the DBTransaction interface. |
void |
disconnect()
Implementation of the DBTransaction interface. |
java.lang.String |
dumpQueryResult(java.lang.String query,
java.lang.String dumpClassName,
java.lang.String[] data)
Implementation of the DBTransaction interface. |
int |
executeCommand(java.lang.String command)
Implementation of the DBTransaction interface. |
EntityImpl |
findByPrimaryKey(EntityDefImpl entityDef,
Key key)
Implementation of the DBTransaction interface. |
EntityImpl |
findByPrimaryKey(java.lang.String entityDefName,
Key key)
Implementation of the DBTransaction interface. |
int |
getLockingMode()
Implementation of the DBTransaction interface. |
int |
getPostThreshold()
Implementation of the DBTransaction interface. |
Session |
getSession()
Implementation of the DBTransaction interface. |
SQLBuilder |
getSQLBuilder()
|
TransactionHandler |
getTransactionHandler()
Internal: Applications should not use this method. |
int |
getValidationThreshold()
Implementation of the DBTransaction interface. |
boolean |
isConnected()
Implementation of the DBTransaction interface. |
boolean |
isDirty()
Implementation of the DBTransaction interface. |
void |
postChanges()
Implementation of the DBTransaction interface. |
void |
reconnect(boolean force)
Implementation of the DBTransaction interface. |
void |
removeTransactionListener(TransactionListener listener)
Implementation of the DBTransaction interface. |
void |
removeTransactionPostListener(TransactionPostListener listener)
Implementation of the DBTransaction interface. |
void |
rollback()
Implementation of the DBTransaction interface. |
void |
setLockingMode(int mode)
Implementation of the DBTransaction interface. |
void |
setPostThreshold(int count)
Implementation of the DBTransaction interface. |
void |
setTransactionHandler(TransactionHandler txnHandler)
Internal: Applications should not use this method. |
void |
setValidationThreshold(int count)
Implementation of the DBTransaction interface. |
void |
validate()
Implementation of the DBTransaction interface. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
protected ConnectionCredentials mConnectionCredentials
Constructor Detail |
public NullDBTransactionImpl()
Method Detail |
public void closeTransaction()
public void commit()
public void rollback()
public void postChanges()
public boolean isDirty()
public void setPostThreshold(int count)
public int getPostThreshold()
public void setValidationThreshold(int count)
public int getValidationThreshold()
public void addTransactionListener(TransactionListener listener)
public void addTransactionListenerNoCheck(TransactionListener listener)
public void removeTransactionListener(TransactionListener listener)
public void addTransactionPostListener(TransactionPostListener listener)
public void addTransactionPostListenerNoCheck(TransactionPostListener listener)
public void removeTransactionPostListener(TransactionPostListener listener)
public java.sql.Statement createStatement(int noRowsPrefetch)
public java.sql.CallableStatement createCallableStatement(java.lang.String str, int noRowsPrefetch)
public java.sql.PreparedStatement createPreparedStatement(java.lang.String str, int noRowsPrefetch)
public int executeCommand(java.lang.String command)
public java.lang.String dumpQueryResult(java.lang.String query, java.lang.String dumpClassName, java.lang.String[] data)
public void validate()
public void addToValidationListeners(ValidationListener w)
public void connect(java.sql.Connection sqlConnection)
Connection
- Reqeusts the factory to create a DBTransactionImpl object
from the given ConnectionDBTransaction.connect(Connection)
,
DatabaseTransactionFactory
public void connect(java.lang.String url)
url
- Reqeusts the factory to create a DBTransactionImpl object
from the given URLTransaction.connect(String)
,
DatabaseTransactionFactory
public void connect(java.lang.String url, java.util.Properties info)
url
- Reqeusts the factory to create a DBTransactionImpl object
from the given url and propertiesinfo
- Reqeusts the factory to create a DBTransactionImpl object
from given the url and propertiesTransaction.connect(String, Properties)
,
DatabaseTransactionFactory
public void connect(java.lang.String url, java.lang.String user, java.lang.String password)
url
- Reqeusts the factory to create a DBTransactionImpl object
from the given url, username and password.user
- Reqeusts the factory to create a DBTransactionImpl object
from the given url, username and password.password
- Reqeusts the factory to create a DBTransactionImpl object
from the given url, username and password.Transaction.connect(String, Properties)
,
DatabaseTransactionFactory
public void disconnect()
public boolean isConnected()
public void reconnect(boolean force)
public void setLockingMode(int mode)
public int getLockingMode()
public TransactionHandler getTransactionHandler()
public void setTransactionHandler(TransactionHandler txnHandler)
public EntityImpl createEntityInstance(EntityDefImpl entityDef, AttributeList al)
public EntityImpl createEntityInstance(java.lang.String entityDefName, AttributeList al)
public EntityImpl findByPrimaryKey(EntityDefImpl entityDef, Key key)
public EntityImpl findByPrimaryKey(java.lang.String entityDefName, Key key)
public ViewObject createViewObject(java.lang.String voDefName)
public ViewObject createViewObjectFromQueryClauses(java.lang.String eoName, java.lang.String selectClause, java.lang.String fromClause, java.lang.String whereClause, java.lang.String orderByClause)
public ViewObject createViewObjectFromQueryStmt(java.lang.String sqlStatement)
public ApplicationModule createApplicationModule(java.lang.String defName)
public ViewLink createViewLink(java.lang.String viewLinkDefName, ViewObject master, ViewObject detail)
public ViewLink createViewLinkFromEntityAssocName(java.lang.String entityAssocName, ViewObject master, ViewObject detail)
public ViewLink createViewLinkBetweenViewObjects(java.lang.String accessorName, ViewObject master, AttributeDef[] srcAttrs, ViewObject detail, AttributeDef[] destAttrs, java.lang.String assocClause)
public void addWarning(JboWarning warn)
public Session getSession()
public SQLBuilder getSQLBuilder()
public java.lang.Object createRef(java.lang.String structName, byte[] data)
|
Business Components | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |