Example usage for Java org.springframework.data.jpa.repository JpaRepository fields, constructors, methods, implement or subclass
The text is from its open source code.
List | findAll() |
Optional | findOne(Example Returns a single entity matching the given Example or null if none was found. |
T | getOne(ID id) Returns a reference to the entity with the given identifier. |
S | saveAndFlush(S entity) Saves an entity and flushes changes instantly. |