|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DBSPLike
Interface describing the basic DBSP features. This is used primarily as a superinterface for any abstract spts.
| Method Summary | |
|---|---|
void |
close()
Get rid of this object. |
ResultSet |
executeQuery()
Execute a query. |
int |
executeUpdate()
Execute an update. |
long |
getCacheTime()
Get the cache time configured for this call. |
int |
getQueryTimeout()
Get the query timeout. |
void |
setCacheTime(long time)
Set the cache time for this cachable query. |
void |
setQueryTimeout(int timeout)
Set the timeout for this query. |
| Method Detail |
|---|
ResultSet executeQuery()
throws SQLException
SQLException - if there's a problem executing the query
int executeUpdate()
throws SQLException
SQLException - if there's a problem executing the queryvoid setCacheTime(long time)
time - time (in seconds) results should be validlong getCacheTime()
void setQueryTimeout(int timeout)
Statement.setQueryTimeout(int)int getQueryTimeout()
Statement.getQueryTimeout()void close()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||