Project 'eclipsefdn/it/api/eclipsefdn-api-common' was moved to 'eclipsefdn/software-dev/api/eclipsefdn-api-common'. Please update any links and bookmarks that may still have the old path.
Update to support multi-tenant DB connections
Merged
requested to merge malowe/eclipsefdn-api-common:malowe/master/multi_tenant_persist into master
Tenant connection is chosen by setting the persistence unit in the query. While something automated could be used to do reflection-based lookups, it would be unreliable. An object can belong to multiple persistence units, meaning that some sort of logic would need to be added to manage which is "best-match" and allow for overrides. Sometimes simple is best.
Logic was implemented in a way that would not impact existing default connections. This makes use of the Quarkus default label in the code, along with an available override when using only named units.
Merge request reports
Activity
added 1 commit
- 684a38bb - Upgrade persistence deployment to create synthetic persistence daos
added 1 commit
- 2098c925 - Delete files that should not have been included
added 1 commit
- d234d5e7 - Delete files that should not have been included
added 5 commits
-
e20d8019 - 1 commit from branch
eclipsefdn/webdev:master - 8cd28fbd - Add make file to simplify dev + add pre-commit hook
- fd76329e - Update Hibernate DAO to allow for override of entity manager retrieval
- 85a69543 - Add abstraction layer to avoid ambiguous insertions
- 6576fd75 - Delete files that should not have been included
Toggle commit list-
e20d8019 - 1 commit from branch
Please register or sign in to reply