com.jdbaccess.session
Interface DBSession
- All Known Implementing Classes:
- DBSessionImpl
public interface DBSession
getNewConnectionId
int getNewConnectionId()
throws ApplicationException
- Throws:
ApplicationException
getNewQueryConnectionId
int getNewQueryConnectionId()
throws ApplicationException
- Throws:
ApplicationException
end
void end(com.jdbaccess.daimpl.TransactionImpl t)
throws ApplicationException
- Throws:
ApplicationException
end
void end(com.jdbaccess.daimpl.QueryTransactionImpl t)
throws ApplicationException
- Throws:
ApplicationException
commit
void commit(com.jdbaccess.daimpl.TransactionImpl t)
throws ApplicationException
- Throws:
ApplicationException
rollback
void rollback(com.jdbaccess.daimpl.TransactionImpl t)
throws ApplicationException
- Throws:
ApplicationException
getNewStatementId
int getNewStatementId(com.jdbaccess.daimpl.DataAccessImpl da)
throws ApplicationException
- Throws:
ApplicationException
end
void end(com.jdbaccess.daimpl.DataAccessImpl da)
throws ApplicationException
- Throws:
ApplicationException
execute
java.lang.Object execute(com.jdbaccess.daimpl.DataAccessImpl da)
throws ApplicationException
- Throws:
ApplicationException
getSize
java.lang.Long getSize(com.jdbaccess.daimpl.DataAccessImpl da)
throws ApplicationException
- Throws:
ApplicationException
getAllElements
java.util.ArrayList getAllElements(com.jdbaccess.daimpl.ResultImpl result)
throws ApplicationException
- Throws:
ApplicationException
getNextElements
java.util.ArrayList getNextElements(com.jdbaccess.daimpl.ResultImpl result,
long count)
throws ApplicationException
- Throws:
ApplicationException
getElement
TransferObject getElement(com.jdbaccess.daimpl.ResultImpl result)
throws ApplicationException
- Throws:
ApplicationException
setPosition
long setPosition(com.jdbaccess.daimpl.SelectImpl q,
long pos)
throws ApplicationException
- Throws:
ApplicationException
getResult
CallResult getResult(com.jdbaccess.daimpl.ProcedureImpl p,
int resultPosition)
throws ApplicationException
- Throws:
ApplicationException
getOutputParams
java.util.ArrayList getOutputParams(com.jdbaccess.daimpl.CallImpl call)
throws ApplicationException
- Throws:
ApplicationException
setAppId
void setAppId(long appId)
throws ApplicationException
- Throws:
ApplicationException
ping
void ping(long appId)
throws ApplicationException
- Throws:
ApplicationException
newConnectionIsPossible
boolean newConnectionIsPossible()
hasNetworkProblems
boolean hasNetworkProblems(com.jdbaccess.daimpl.TransactionImpl transaction)
deleteStmtsAndConnectionsFromPools
void deleteStmtsAndConnectionsFromPools(com.jdbaccess.daimpl.TransactionImpl transaction)
throws ApplicationException
- Throws:
ApplicationException