Today, users need to specify all JPA entities when providing the configuration to the JPA identity store, as follows:
{code} stores().jpa() .mappedEntity( AccountTypeEntity.class, RoleTypeEntity.class, GroupTypeEntity.class, IdentityTypeEntity.class, RelationshipTypeEntity.class, RelationshipIdentityTypeEntity.class, PartitionTypeEntity.class, PasswordCredentialTypeEntity.class, AttributeTypeEntity.class) {code}
The idea is make the configuration even easier and just use:
{code} . stores().jpa() {code}
Entities will be automatically scanned and configured if user has not set any entities by his own.
|