This is the source code used to write an article about how to build a multitenant application using Hybernate.
It uses RESTEasy, Wildfly, Gradle, and PostgreSQL.
- PostgreSQL database with at least one schema containing a table called
car
(creation.sql) - Wildfly configured with a datasource called
JavaEEMTDS
pointing to the PostgreSQL database of step 1 (DataSource configuration) - Gradle to build the project (Gradle documentation)