Index

A C D F G M O P R T 
All Classes and Interfaces|All Packages

A

AutoConfigureTestEntityManager - Annotation Interface in org.springframework.boot.jpa.test.autoconfigure
Annotation that can be applied to a test class to enable auto-configuration of a TestEntityManager.

C

clear() - Method in class org.springframework.boot.jpa.test.autoconfigure.TestEntityManager
Clear the persistence context, causing all managed entities to become detached.

D

detach(Object) - Method in class org.springframework.boot.jpa.test.autoconfigure.TestEntityManager
Remove the given entity from the persistence context, causing a managed entity to become detached.

F

find(Class, Object) - Method in class org.springframework.boot.jpa.test.autoconfigure.TestEntityManager
Find by primary key.
flush() - Method in class org.springframework.boot.jpa.test.autoconfigure.TestEntityManager
Synchronize the persistence context to the underlying database.

G

getEntityManager() - Method in class org.springframework.boot.jpa.test.autoconfigure.TestEntityManager
Return the underlying EntityManager that's actually used to perform all operations.
getId(Object) - Method in class org.springframework.boot.jpa.test.autoconfigure.TestEntityManager
Return the ID of the given entity.
getId(Object, Class) - Method in class org.springframework.boot.jpa.test.autoconfigure.TestEntityManager
Return the ID of the given entity cast to a specific type.

M

merge(E) - Method in class org.springframework.boot.jpa.test.autoconfigure.TestEntityManager
Merge the state of the given entity into the current persistence context.

O

org.springframework.boot.jpa.test.autoconfigure - package org.springframework.boot.jpa.test.autoconfigure
Auto-configuration for JPA tests.

P

persist(E) - Method in class org.springframework.boot.jpa.test.autoconfigure.TestEntityManager
Make an instance managed and persistent.
persistAndFlush(E) - Method in class org.springframework.boot.jpa.test.autoconfigure.TestEntityManager
Make an instance managed and persistent then synchronize the persistence context to the underlying database.
persistAndGetId(Object) - Method in class org.springframework.boot.jpa.test.autoconfigure.TestEntityManager
Make an instance managed and persistent then return its ID.
persistAndGetId(Object, Class) - Method in class org.springframework.boot.jpa.test.autoconfigure.TestEntityManager
Make an instance managed and persistent then return its ID.
persistFlushFind(E) - Method in class org.springframework.boot.jpa.test.autoconfigure.TestEntityManager
Make an instance managed and persistent, synchronize the persistence context to the underlying database and finally find the persisted entity by its ID.

R

refresh(E) - Method in class org.springframework.boot.jpa.test.autoconfigure.TestEntityManager
Refresh the state of the instance from the database, overwriting changes made to the entity, if any.
remove(Object) - Method in class org.springframework.boot.jpa.test.autoconfigure.TestEntityManager
Remove the entity instance.

T

TestEntityManager - Class in org.springframework.boot.jpa.test.autoconfigure
Alternative to EntityManager for use in JPA tests.
TestEntityManager(EntityManagerFactory) - Constructor for class org.springframework.boot.jpa.test.autoconfigure.TestEntityManager
Create a new TestEntityManager instance for the given EntityManagerFactory.
TestEntityManagerAutoConfiguration - Class in org.springframework.boot.jpa.test.autoconfigure
Auto-configuration for TestEntityManager.
TestEntityManagerAutoConfiguration() - Constructor for class org.springframework.boot.jpa.test.autoconfigure.TestEntityManagerAutoConfiguration
 
A C D F G M O P R T 
All Classes and Interfaces|All Packages