During the week we were working on a task to make our product multibranded. It means that each brand has its own database schema but the logic is the same. In the following article I will show how we built a brand Spring scope and how it was applied on the C3P0 to return the proper connection to each request.
Everything what is written here is created by my colleague Yazid Bouhass and myself for Masabi Ltd..
In the first article I show how the brand scope was built, and the second article will contain the C3P0 configuration.

