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