@io.micronaut.data.jdbc.annotation.JdbcRepository(dialect: Dialect.POSTGRES) interface LSNRepository extends org.simplemes.eframe.domain.BaseRepository, CrudRepository<LSN, java.util.UUID>
The LSN 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 |
---|
LSNRepository
() |
Type Params | Return Type | Name and description |
---|---|---|
|
java.util.List<LSN> |
findAllByLsn(java.lang.String lsn) |
|
java.util.List<LSN> |
findAllByOrder(Order order) |
|
java.util.Optional<LSN> |
findByLsn(java.lang.String lsn) Finds by LSN. |
|
java.util.Optional<LSN> |
findByUuid(java.util.UUID uuid) |
|
java.util.List<LSN> |
list(io.micronaut.data.model.Pageable pageable) |
|
java.util.List<LSN> |
list() |
Finds by LSN. Note: Since LSN is not unique by itself, this finder may return the wrong LSN. You need to verify it is correct. Use the ResolveService.fixLSN resolve the cases when the LSN might not be unique.
lsn
- The LSN to look for.