public class RoleRepositoryJpa extends JpaRepository<Role,java.lang.Long> implements RoleRepository
DEFAULT_PAGE_SIZE, LOGGER
Constructor and Description |
---|
RoleRepositoryJpa() |
Modifier and Type | Method and Description |
---|---|
Role |
findRole(java.lang.String role) |
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<Role,java.lang.Long>
public Role findRole(java.lang.String role)
findRole
in interface RoleRepository