@Transactional(propagation = Propagation.SUPPORTS, readOnly = true) public List<T> consultaNativa(String consulta) { return dao.consultaNativa(consulta); }
@Transactional(propagation = Propagation.SUPPORTS, readOnly = true) public List<T> listar(Class classe) { return dao.listar(classe); }
public void salvarLista(List<T> lista) { dao.salvarLista(lista); }
@Transactional(propagation = Propagation.SUPPORTS, readOnly = true) public T carregar(Class classe, Serializable chave) { return dao.carregar(classe, chave); }
public void salvar(T entity) { dao.salvar(entity); }