示例#1
0
 @Override
 @Transactional(readOnly = true)
 public List<User> getAll() {
   return messageDaoH.listEntity();
 }
示例#2
0
 @Override
 public void update(User user) {
   messageDaoH.updateEntity(user);
 }
示例#3
0
 @Override
 public void insert(User user) {
   messageDaoH.saveEntity(user);
 }
示例#4
0
 @Override
 @Transactional(readOnly = true)
 public User getUser(Long id) {
   return messageDaoH.getEntity(id);
 }