public interface ConfigTxnRegistryRepository extends org.springframework.data.jpa.repository.JpaRepository<ConfigTxnRegistryDO,java.lang.Long>
Modifier and Type | Method and Description |
---|---|
java.util.List<ConfigTxnRegistryDO> |
findAll() |
java.util.List<ConfigTxnRegistryDO> |
findAllActive() |
ConfigTxnRegistryDO |
findByBusinessKeyActive(java.lang.String txnserviceName) |
deleteAllInBatch, deleteInBatch, findAll, findAll, findAll, findAllById, flush, getOne, saveAll, saveAndFlush
findAll
java.util.List<ConfigTxnRegistryDO> findAll()
findAll
in interface org.springframework.data.repository.CrudRepository<ConfigTxnRegistryDO,java.lang.Long>
findAll
in interface org.springframework.data.jpa.repository.JpaRepository<ConfigTxnRegistryDO,java.lang.Long>
@Query(value="select dobj from ConfigTxnRegistryDO dobj where dobj.deletedTs is null or dobj.deletedTs > CURRENT_TIMESTAMP") java.util.List<ConfigTxnRegistryDO> findAllActive()
@Query(value="select dobj from ConfigTxnRegistryDO dobj where dobj.txnserviceName = ?1 and (dobj.deletedTs is null or dobj.deletedTs > CURRENT_TIMESTAMP) ") ConfigTxnRegistryDO findByBusinessKeyActive(java.lang.String txnserviceName)