Uses of Class
org.springframework.boot.orm.jpa.EntityManagerFactoryBuilder.Builder
Packages that use EntityManagerFactoryBuilder.Builder
-
Uses of EntityManagerFactoryBuilder.Builder in org.springframework.boot.orm.jpa
Methods in org.springframework.boot.orm.jpa that return EntityManagerFactoryBuilder.BuilderModifier and TypeMethodDescriptionEntityManagerFactoryBuilder.dataSource
(DataSource dataSource) Create a newEntityManagerFactoryBuilder.Builder
for aEntityManagerFactory
using the settings of the given instance, and the givenDataSource
.EntityManagerFactoryBuilder.Builder.jta
(boolean jta) Configure if using a JTADataSource
, i.e.EntityManagerFactoryBuilder.Builder.managedTypes
(PersistenceManagedTypes managedTypes) The persistence managed types, providing both the managed entities and packages the entity manager should consider.EntityManagerFactoryBuilder.Builder.mappingResources
(String... mappingResources) The mapping resources (equivalent to<mapping-file>
entries inpersistence.xml
) for the persistence unit.The classes whose packages should be scanned for@Entity
annotations.The names of packages to scan for@Entity
annotations.EntityManagerFactoryBuilder.Builder.persistenceUnit
(String persistenceUnit) The name of the persistence unit.EntityManagerFactoryBuilder.Builder.properties
(Map<String, ?> properties) Generic properties for standard JPA or vendor-specific configuration.