JPAIdentityStore is creating an EntityManager each time the IDM context is initialized. Each IDM operation is executed in a separated context and with a different transaction.
Need to tie an EntityManager with the caller thread and current transaction.
|