Constructor and Description |
---|
UserDaoImpl(DataSource dataSource) |
Modifier and Type | Method and Description |
---|---|
User |
getSimpleUserMappingConstructor(int id) |
List<User> |
getSimpleUsersWithMappingConstructor() |
User |
getUser(int id) |
List<User> |
getUsers() |
UserPermissionsResultSet |
getUserWithPermissions(int id) |
void |
saveUser(int id,
String name) |
@Autowired public UserDaoImpl(DataSource dataSource)
public User getSimpleUserMappingConstructor(int id)
getSimpleUserMappingConstructor
in interface UserDao
public UserPermissionsResultSet getUserWithPermissions(int id)
getUserWithPermissions
in interface UserDao
public List<User> getSimpleUsersWithMappingConstructor()
getSimpleUsersWithMappingConstructor
in interface UserDao
@Transactional(isolation=SERIALIZABLE, rollbackFor={java.sql.SQLSyntaxErrorException.class,org.hsqldb.HsqlException.class}) public void saveUser(int id, String name)
Copyright © 2015. All rights reserved.