posted 20 years ago
Data Access Object (DAO) means the object has only data access logic. No business logic in it at all.
I want to implement this method:
in the DAO with this query statement:
which looks under the "user_name" field in the "members" table for the username that is supplied by the calling class.
I have rs.next() to loop through every single record in the "members" table to look for that particular record. If username cannot be found in the "members" table, I have this statement:
Is my DAO considered to have data access logic only (no business logic at all)?