Interface ProductDtoRepository
- All Superinterfaces:
GenericRepository<Product,Long>
-
Method Summary
-
Method Details
-
findByNameWithQuery
@Query("select p.id, p.name, p.price, p.loooooooooooooooooooooooooooooooooooooooooooooooooooooooong_name AS long_name, p.date_created, p.last_updated from product p where p.name = :name order by p.name") Optional<ProductDto> findByNameWithQuery(String name) -
findByNameLikeOrderByName
-