-
EntityManagerFactoryBuilder.Builder.jta(boolean jta)
The persistence managed types, providing both the managed entities and packages
the entity manager should consider.
The mapping resources (equivalent to <mapping-file>
entries in
persistence.xml
) for the persistence unit.
EntityManagerFactoryBuilder.Builder.packages(Class<?>... basePackageClasses)
The classes whose packages should be scanned for @Entity
annotations.
EntityManagerFactoryBuilder.Builder.packages(String... packagesToScan)
The names of packages to scan for @Entity
annotations.
The name of the persistence unit.
Generic properties for standard JPA or vendor-specific configuration.