Starttransaction, Getconnection, Getmaxconnections – HP NonStop G-Series User Manual
Page 282: Setmaxconnections

startTransaction
Transaction startTransaction(int timeout)
timeout
The transaction time-out value in seconds.
Returns A transaction object, or null if failure occurs.
Usage Start a transaction. The transaction should be committed or aborted before continuing to
another page, unless programmatic arrangements to commit or abort the transaction have been
made. Otherwise, the connection is locked until the transaction is terminated.
getConnection
int getConnection(int index)
index
A connection index.
Usage Get a connection. This method is part of the administrative class library.
getMaxConnections
int getMaxConnections()
Usage Get the maximum number of connections configured in this session. This method is part
of the administrative class library.
setMaxConnections
int setMaxConnections(int maxCons)
maxCons
The new session pool size.
Returns The new spool size, or -1 for shrinking the session pool.
Usage Change the session pool size. Currently shrinking the session pool is disallowed. This
method is part of the administrative class library.