Builder

inner class Builder

A fluent builder for a LocalContainerEntityManagerFactoryBean.

Functions

Link copied to clipboard
Link copied to clipboard
Configure if using a JTA DataSource, i.e.
Link copied to clipboard
The persistence managed types, providing both the managed entities and packages the entity manager should consider.
Link copied to clipboard
The mapping resources (equivalent to <mapping-file> entries in persistence.xml) for the persistence unit.
Link copied to clipboard
open fun packages(basePackageClasses: Array<Class<out Any>>): EntityManagerFactoryBuilder.Builder
The classes whose packages should be scanned for @Entity annotations.
The names of packages to scan for @Entity annotations.
Link copied to clipboard
The name of the persistence unit.
Link copied to clipboard
Generic properties for standard JPA or vendor-specific configuration.