Interface JpaRepositoryOperations

    • Method Detail

      • getCurrentEntityManager

        @NonNull
        javax.persistence.EntityManager getCurrentEntityManager()
        Returns:
        The currrent entity manager
      • getEntityManagerFactory

        @NonNull
        javax.persistence.EntityManagerFactory getEntityManagerFactory()
        Returns:
        The entity manager factory
      • load

        @NonNull
        <T> T load​(@NonNull
                   java.lang.Class<T> type,
                   @NonNull
                   java.io.Serializable id)
        Create an uninitialized proxy.
        Type Parameters:
        T - the entity type
        Parameters:
        type - the entity type
        id - the entity id
        Returns:
        an uninitialized proxy
      • flush

        void flush()
        Flush the current session.