コード例 #1
0
 @Override
 @Transactional(propagation = Propagation.REQUIRED)
 public void remove(final E entity) {
   genericDao.remove(entity);
 }
コード例 #2
0
 @Override
 @Transactional(propagation = Propagation.REQUIRED, readOnly = true)
 public List<E> getAll() {
   return genericDao.getAll();
 }
コード例 #3
0
 @Override
 @Transactional(propagation = Propagation.REQUIRED, readOnly = true)
 public E get(final K id) {
   return genericDao.find(id);
 }
コード例 #4
0
 @Override
 @Transactional(propagation = Propagation.REQUIRED)
 public void saveOrUpdate(final E entity) {
   genericDao.saveOrUpdate(entity);
 }