| java.lang.Object net.sourceforge.orbroker.BrokerConnection net.sourceforge.orbroker.QueryableConnection net.sourceforge.orbroker.ExecutableConnection net.sourceforge.orbroker.Executable
Executable | final public class Executable extends ExecutableConnection (Code) | | An Executable allows queries and execution of statements
on an existing connection. It is up to the Connection supplier to
manage all transactional properties, if any. This should generally
only be used for container managed transactions and
similar type external transaction management.
An Executable can also be passed to other methods that
needs to take part in a transaction, but without exposing the
commit and rollback capabilities of the
net.sourceforge.orbroker.Transaction object.
author: Nils Kilden-Pedersen See Also: Broker.obtainExecutable(Connection) See Also: Transaction.obtainExecutable |
release | void release()(Code) | | Invalidate this Executable.
|
Methods inherited from net.sourceforge.orbroker.ExecutableConnection | public int execute(String statementID) throws BrokerException, ConstraintException, DeadlockException(Code)(Java Doc) public int executeBatch(String statementID, String batchParameterName, Collection batchParameters) throws BrokerException, ConstraintException, DeadlockException(Code)(Java Doc) public int[] executeBatch(String statementID, String batchParameterName, Object[] batchParameters) throws BrokerException, ConstraintException, DeadlockException(Code)(Java Doc) protected Statement getStatement(String statementID) throws BrokerException(Code)(Java Doc) abstract protected void markTransactionStarted()(Code)(Java Doc) public void releaseSavepoint(Savepoint savepoint)(Code)(Java Doc) public void rollback(Savepoint savepoint)(Code)(Java Doc) public Savepoint setSavepoint()(Code)(Java Doc) public Savepoint setSavepoint(String name)(Code)(Java Doc)
|
Methods inherited from net.sourceforge.orbroker.QueryableConnection | final public void closeIterator(Iterator iterator)(Code)(Java Doc) final protected QueryResult executeQuery(Statement stm, boolean useScrollable) throws BrokerException(Code)(Java Doc) public Iterator iterate(String statementID, int fetchSize)(Code)(Java Doc) final public List selectMany(String statementID) throws BrokerException(Code)(Java Doc) final public int selectMany(String statementID, Collection resultCollection) throws BrokerException(Code)(Java Doc) final public int selectMany(String statementID, Collection resultCollection, int startRow, int rowCount) throws BrokerException(Code)(Java Doc) final public List selectMany(String statementID, int startRow, int rowCount) throws BrokerException(Code)(Java Doc) final public Object selectOne(String statementID) throws BrokerException, MoreThanOneRowException(Code)(Java Doc) final public boolean selectOne(String statementID, Object resultObject) throws BrokerException, MoreThanOneRowException(Code)(Java Doc) public Object selectOneFromMany(String statementID, int fromRow) throws BrokerException(Code)(Java Doc)
|
|
|