reset password
Author Message
hhuang30
Posts: 40
Posted 17:59 Apr 23, 2014 |

In  hw 3, part 4. (25pt) Database Access,

the UserDao has one method: User getUser( String username ), the return type is User instead of a collection of User

So can we assume the username is unique?
 

Last edited by hhuang30 at 18:02 Apr 23, 2014.
cysun
Posts: 2935
Posted 20:59 Apr 23, 2014 |

Yes.