Are you going to make our JPA entity classes public? If not, what's the point of this extension? Now that we have real deployers, its now easier to write your own persistence unit. Take a look at the example:
On 18 August 2016 at 19:26, Bill Burke <bburke@redhat.com> wrote:
On 8/18/16 1:13 AM, Stian Thorgersen wrote:
Something we have to fix anyways. Its on my todo list.One problem with this approach is that you end up having a separate JDBC connection and transaction even if it uses the same database the Keycloak server uses.
I'm really not a big fan of this extension and this is something I do not want to support for product ever.Take a look at https://github.com/keycloak/keycloak/tree/master/examples/ for example which allows adding custom entities to the main EntityManager.providers/domain-extension/ src/main/java/org/keycloak/ examples/domainextension/jpa
Why, please elaborate? IMO it's a really nice and simple way to add a few extra entities for custom providers.