executeQuery(DBConnection conn) Method to query objects from the database.
Parameters: conn - Handle to database connection. exception: java.sql.SQLException - If a database access error occurs.
next(ResultSet rs) Return the number of sessions associated with the user.
Parameters: rs - the result set from which number of user sessionswill be instantiated.
Method to query objects from the database.
Parameters: conn - Handle to database connection. exception: java.sql.SQLException - If a database access error occurs.
Return the number of sessions associated with the user.
Parameters: rs - the result set from which number of user sessionswill be instantiated. an Integer specifying the number of sessions. exception: SQLException - If a database access error occurs.