@Repository public interface OperationRepository extends org.springframework.data.jpa.repository.JpaRepository<Operation,java.lang.Long>
Modifier and Type | Method and Description |
---|---|
java.util.List<Operation> |
findAllWithEagerRelationships() |
Operation |
findOneWithEagerRelationships(java.lang.Long id) |
deleteAllInBatch, deleteInBatch, findAll, findAll, findAll, findAll, findAll, flush, getOne, save, saveAndFlush
findAll
@Query(value="select distinct operation from Operation operation left join fetch operation.labels") java.util.List<Operation> findAllWithEagerRelationships()
@Query(value="select operation from Operation operation left join fetch operation.labels where operation.id =:id") Operation findOneWithEagerRelationships(@Param(value="id") java.lang.Long id)
Copyright © 2017 Osgiliath. All rights reserved.