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) EntityManagerFactoryBuilder.Builder.jta
(boolean jta) Configure if using a JTADataSource
, i.e.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.