|
DODS 6.5 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Extensions of DBConnection interface needed to avoid explicit casting to implementation class.
Method Summary | |
long |
getConnectionEnterPoolTime()
Return value off ConnectionEnterPoolTime. |
int |
getConnectionUsageCounter()
Return value off connectionUsageCounter. |
int |
getMaxPreparedStmts()
|
boolean |
isClosed()
Is connection closed. |
boolean |
isDroped()
Is connection droped. |
java.sql.PreparedStatement |
prepareStatement(java.lang.String sql,
int iResultSetType,
int iResultSetConcurrency)
Get a prepared statement given an SQL string. |
void |
setConnectionEnterPoolTime(long i)
Set new value for ConnectionEnterPoolTime. |
void |
setConnectionUsageCounter(int i)
Set new value for connectionUsageCounter. |
Methods inherited from interface com.lutris.appserver.server.sql.DBConnection |
allocate, close, commit, execute, executeQuery, executeQuery, executeUpdate, executeUpdate, getConnection, getDatabaseName, getGeneration, getUrl, getUser, handleException, incrRequestCount, isMarkedForDrop, prepareCall, prepareStatement, release, reset, rollback, setAutoCommit, validate, warningCheck |
Method Detail |
public void setConnectionEnterPoolTime(long i)
i
- New value.public long getConnectionEnterPoolTime()
public void setConnectionUsageCounter(int i)
i
- New value.public int getConnectionUsageCounter()
public boolean isDroped()
public boolean isClosed()
public java.sql.PreparedStatement prepareStatement(java.lang.String sql, int iResultSetType, int iResultSetConcurrency) throws java.sql.SQLException
sql
- The SQL statement to prepared.iResultSetType
- a result set type; one of ResultSet.TYPE_FORWARD_ONLY, ResultSet.TYPE_SCROLL_INSENSITIVE, or ResultSet.TYPE_SCROLL_SENSITIVE.iResultSetConcurrency
- a concurrency type; one of ResultSet.CONCUR_READ_ONLY or ResultSet.CONCUR_UPDATABLE.
java.sql.SQLException
- If a SQL error occured compiling the
statement.public int getMaxPreparedStmts()
|
DODS 6.5 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |