|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
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 |
public ResultSet executeQuery()
throws SQLException
SQLException - if there's a problem executing the query
public int executeUpdate()
throws SQLException
SQLException - if there's a problem executing the querypublic void setCacheTime(long time)
time - time (in seconds) results should be validpublic long getCacheTime()
public void setQueryTimeout(int timeout)
Statement#setQueryTimeout(int)public int getQueryTimeout()
Statement#getQueryTimeout()public void close()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||