configureEntities();
} catch (Exception e) {
throw ROOT_LOGGER.idmJpaStartFailed(e);
}
this.configurationBuilder.addContextInitializer(new ContextInitializer() {
@Override
public void initContextForStore(IdentityContext context, IdentityStore<?> store) {
if (store instanceof JPAIdentityStore) {
EntityManager entityManager = context.getParameter(JPAIdentityStore.INVOCATION_CTX_ENTITY_MANAGER);