This is the second half of a two-part article about multitenancy with the Jakarta Persistence API (JPA) on WildFly. In Part 1, I showed you how to implement multitenancy using a database. In Part 2, I’ll show you how to implement multitenancy using a schema and the Jakarta Persistence API (JPA) on WildFly. You’ll learn how to implement JPA’s
MultiTenantConnectionProvider interfaces, and how to use JPA’s
persistence.xml file to configure the required classes based on these interfaces.
Continue reading Jakarta EE: Multitenancy with JPA on WildFly, Part 2