com.jdbaccess.session
Interface DBSession

All Known Implementing Classes:
DBSessionImpl

public interface DBSession


Method Summary
 void commit(com.jdbaccess.daimpl.TransactionImpl t)
           
 void deleteStmtsAndConnectionsFromPools(com.jdbaccess.daimpl.TransactionImpl transaction)
           
 void end(com.jdbaccess.daimpl.DataAccessImpl da)
           
 void end(com.jdbaccess.daimpl.QueryTransactionImpl t)
           
 void end(com.jdbaccess.daimpl.TransactionImpl t)
           
 java.lang.Object execute(com.jdbaccess.daimpl.DataAccessImpl da)
           
 java.util.ArrayList getAllElements(com.jdbaccess.daimpl.ResultImpl result)
           
 TransferObject getElement(com.jdbaccess.daimpl.ResultImpl result)
           
 int getNewConnectionId()
           
 int getNewQueryConnectionId()
           
 int getNewStatementId(com.jdbaccess.daimpl.DataAccessImpl da)
           
 java.util.ArrayList getNextElements(com.jdbaccess.daimpl.ResultImpl result, long count)
           
 java.util.ArrayList getOutputParams(com.jdbaccess.daimpl.CallImpl call)
           
 CallResult getResult(com.jdbaccess.daimpl.ProcedureImpl p, int resultPosition)
           
 java.lang.Long getSize(com.jdbaccess.daimpl.DataAccessImpl da)
           
 boolean hasNetworkProblems(com.jdbaccess.daimpl.TransactionImpl transaction)
           
 boolean newConnectionIsPossible()
           
 void ping(long appId)
           
 void rollback(com.jdbaccess.daimpl.TransactionImpl t)
           
 void setAppId(long appId)
           
 long setPosition(com.jdbaccess.daimpl.SelectImpl q, long pos)
           
 

Method Detail

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