@io.micronaut.data.jdbc.annotation.JdbcRepository(dialect: Dialect.POSTGRES) interface ProductRepository extends org.simplemes.eframe.domain.BaseRepository, CrudRepository<Product, java.util.UUID>
The Product repository base interface. Provides the methods for the repo, but sub-classes need to implement the dialect needed. The sub-classes will be the concrete beans generated for the runtime.
Constructor and description |
---|
ProductRepository
() |
Type Params | Return Type | Name and description |
---|---|---|
|
java.util.Optional<Product> |
findByProduct(java.lang.String product) |
|
java.util.Optional<Product> |
findByUuid(java.util.UUID uuid) |
|
java.util.List<Product> |
list(io.micronaut.data.model.Pageable pageable) |
|
java.util.List<Product> |
list() |