Interface ProvisioningEntryRepository

All Superinterfaces:
org.springframework.data.repository.CrudRepository<ProvisioningEntry,Long>, org.springframework.data.jpa.repository.JpaRepository<ProvisioningEntry,Long>, org.springframework.data.jpa.repository.JpaSpecificationExecutor<ProvisioningEntry>, org.springframework.data.repository.ListCrudRepository<ProvisioningEntry,Long>, org.springframework.data.repository.ListPagingAndSortingRepository<ProvisioningEntry,Long>, org.springframework.data.repository.PagingAndSortingRepository<ProvisioningEntry,Long>, org.springframework.data.repository.query.QueryByExampleExecutor<ProvisioningEntry>, org.springframework.data.repository.Repository<ProvisioningEntry,Long>

public interface ProvisioningEntryRepository extends org.springframework.data.jpa.repository.JpaRepository<ProvisioningEntry,Long>, org.springframework.data.jpa.repository.JpaSpecificationExecutor<ProvisioningEntry>
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.springframework.data.jpa.repository.JpaSpecificationExecutor

    org.springframework.data.jpa.repository.JpaSpecificationExecutor.SpecificationFluentQuery<T>
  • Method Summary

    Methods inherited from interface org.springframework.data.repository.CrudRepository

    count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findById, save

    Methods inherited from interface org.springframework.data.jpa.repository.JpaRepository

    deleteAllByIdInBatch, deleteAllInBatch, deleteAllInBatch, deleteInBatch, findAll, findAll, flush, getById, getOne, getReferenceById, saveAllAndFlush, saveAndFlush

    Methods inherited from interface org.springframework.data.jpa.repository.JpaSpecificationExecutor

    count, delete, exists, findAll, findAll, findAll, findAll, findBy, findOne

    Methods inherited from interface org.springframework.data.repository.ListCrudRepository

    findAll, findAllById, saveAll

    Methods inherited from interface org.springframework.data.repository.ListPagingAndSortingRepository

    findAll

    Methods inherited from interface org.springframework.data.repository.PagingAndSortingRepository

    findAll

    Methods inherited from interface org.springframework.data.repository.query.QueryByExampleExecutor

    count, exists, findAll, findBy, findOne
  • Method Details

    • findByProvisioningEntryDate

      @Query("select entry1 from ProvisioningEntry entry1 where entry1.createdDate = :createdDate") ProvisioningEntry findByProvisioningEntryDate(@Param("createdDate") LocalDate createdDate)
    • findExistingProvisioningEntryWithJournalEntries

      @Query("select entry1 from ProvisioningEntry entry1 where entry1.createdDate = (select max(entry2.createdDate) from ProvisioningEntry entry2 where entry2.isJournalEntryCreated=true)") ProvisioningEntry findExistingProvisioningEntryWithJournalEntries()