public interface JpaRepositoryOperations extends PrimaryRepositoryOperations
Modifier and Type | Method and Description |
---|---|
void |
flush()
Flush the current session.
|
javax.persistence.EntityManager |
getCurrentEntityManager() |
javax.persistence.EntityManagerFactory |
getEntityManagerFactory() |
<T> T |
load(java.lang.Class<T> type,
java.io.Serializable id)
Create an uninitialized proxy.
|
count, delete, deleteAll, executeDelete, executeUpdate, exists, findAll, findAll, findOne, findOne, findPage, findStream, findStream, getEntity, getQueryHints, persist, persistAll, update, updateAll
@NonNull javax.persistence.EntityManager getCurrentEntityManager()
@NonNull javax.persistence.EntityManagerFactory getEntityManagerFactory()
@NonNull <T> T load(@NonNull java.lang.Class<T> type, @NonNull java.io.Serializable id)
T
- the entity typetype
- the entity typeid
- the entity idvoid flush()