Package | Description |
---|---|
org.springframework.boot.orm.jpa |
JPA Support classes.
|
Modifier and Type | Method and Description |
---|---|
EntityManagerFactoryBuilder.Builder |
EntityManagerFactoryBuilder.dataSource(DataSource dataSource) |
EntityManagerFactoryBuilder.Builder |
EntityManagerFactoryBuilder.Builder.jta(boolean jta)
Configure if using a JTA
DataSource , i.e. |
EntityManagerFactoryBuilder.Builder |
EntityManagerFactoryBuilder.Builder.packages(Class<?>... basePackageClasses)
The classes whose packages should be scanned for
@Entity annotations. |
EntityManagerFactoryBuilder.Builder |
EntityManagerFactoryBuilder.Builder.packages(String... packagesToScan)
The names of packages to scan for
@Entity annotations. |
EntityManagerFactoryBuilder.Builder |
EntityManagerFactoryBuilder.Builder.persistenceUnit(String persistenceUnit)
The name of the persistence unit.
|
EntityManagerFactoryBuilder.Builder |
EntityManagerFactoryBuilder.Builder.properties(Map<String,?> properties)
Generic properties for standard JPA or vendor-specific configuration.
|
Copyright © 2015 Pivotal Software, Inc.. All rights reserved.