@Repository public class UserRepository extends AbstractRepository<User> implements UserLookup
em| Constructor and Description |
|---|
UserRepository() |
| Modifier and Type | Method and Description |
|---|---|
User |
findByName(String name)
Return user with the given name
|
boolean |
isNameAvailable(String name) |
countAll, delete, delete, deleteAll, findAll, findById, saveAndFlushpublic boolean isNameAvailable(String name)
public User findByName(String name)
findByName in interface UserLookupname - Copyright © 2015. All rights reserved.