public class AlgorithmRepositoryJpa extends JpaRepository<Algorithm,java.lang.Long> implements AlgorithmRepository
DEFAULT_PAGE_SIZE, LOGGER
Constructor and Description |
---|
AlgorithmRepositoryJpa() |
Modifier and Type | Method and Description |
---|---|
java.util.Optional<Algorithm> |
findFirst() |
java.util.List<Algorithm> |
paginate(java.util.Optional<java.lang.Integer> page) |
protected java.lang.String |
persistenceUnitName()
Derived classes should implement this method to return the name of the
persistence unit
|
add, all, close, create, delete, deleteById, entityManager, entityManagerFactory, findById, first, first, iterator, iterator, last, page, pageWithFiltering, read, save, size, update
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
protected java.lang.String persistenceUnitName()
JpaRepository
persistenceUnitName
in class JpaRepository<Algorithm,java.lang.Long>
public java.util.List<Algorithm> paginate(java.util.Optional<java.lang.Integer> page)
paginate
in interface AlgorithmRepository
public java.util.Optional<Algorithm> findFirst()
findFirst
in interface AlgorithmRepository