|
Enhydra 3.1 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.lutris.appserver.server.sql.standard.StandardDBQuery
Standard implementation of a DBQuery object.
DBQuery
Constructor Summary | |
protected |
StandardDBQuery(DBConnection dbConnection)
Construct a query object for use on the supplied dB connection. |
Method Summary | |
protected void |
finalize()
Finalizer. |
boolean |
handleException(java.sql.SQLException e)
Exception handler. |
protected void |
logDebug(java.lang.String str)
Logging. |
java.lang.Object |
next()
Returns a new object representing the next result form the query. |
void |
query(Query q)
Query the database. |
void |
release()
Frees all resources consumed by this query. |
void |
validate()
Method to ensure this object is still valid. |
Methods inherited from class java.lang.Object |
clone,
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
protected StandardDBQuery(DBConnection dbConnection) throws java.sql.SQLException
dbConnection
- The database connection to use.Method Detail |
public void query(Query q) throws java.sql.SQLException
q
- Query interface via which the query will be executed.public java.lang.Object next() throws java.sql.SQLException, ObjectIdException
public void release()
public boolean handleException(java.sql.SQLException e)
public void validate() throws java.sql.SQLException
protected void finalize()
protected void logDebug(java.lang.String str)
str
- The data to log.
|
Enhydra 3.1 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |