Interface OrderProductRepository

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

@Repository public interface OrderProductRepository extends org.springframework.data.jpa.repository.JpaRepository<OrderProductEntity,UUID>
Repository interface for managing OrderProductEntity entities.
  • Method Summary

    Modifier and Type
    Method
    Description
    Finds all OrderProductEntity records associated with a specific order ID.

    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.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

    • findAllByOrderId

      List<OrderProductEntity> findAllByOrderId(UUID orderId)
      Finds all OrderProductEntity records associated with a specific order ID.
      Parameters:
      orderId - the UUID of the order
      Returns:
      a list of OrderProductEntity records