Interface LoadUnitRepository

All Superinterfaces:
org.springframework.data.repository.CrudRepository<LoadUnit,Long>, org.springframework.data.jpa.repository.JpaRepository<LoadUnit,Long>, org.springframework.data.repository.PagingAndSortingRepository<LoadUnit,Long>, org.springframework.data.repository.query.QueryByExampleExecutor<LoadUnit>, org.springframework.data.repository.Repository<LoadUnit,Long>

interface LoadUnitRepository extends org.springframework.data.jpa.repository.JpaRepository<LoadUnit,Long>
A LoadUnitRepository.
Author:
Heiko Scherrer
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
     

    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, findAll, findAll, findAllById, flush, getById, getOne, getReferenceById, saveAll, saveAllAndFlush, saveAndFlush

    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

    • findByTransportUnit_transportUnitBKAndPhysicalPosition

      @Query(" select lu from LoadUnit lu\n where lu.transportUnit.transportUnitBK.value = :transportUnitBK\n and lu.physicalPosition = :physicalPosition\n") Optional<LoadUnit> findByTransportUnit_transportUnitBKAndPhysicalPosition(@Param("transportUnitBK") String transportUnitBK, @Param("physicalPosition") String physicalPosition)
    • findBypKey

      Optional<LoadUnit> findBypKey(String pKey)
    • findByTransportUnit_transportUnitBK

      List<LoadUnit> findByTransportUnit_transportUnitBK(Barcode transportUnitBK)