I remember we did some experiments in this field at some point.
The bean used BMP and the primary key included the database name. We used the same DS and each call to get a new connection included database and user, pass.
This was a test thing we did and it was never used in production (although it worked).
Thank you milowe.
But it would be nice if i could do it with CMP.
I don't know if it is possible to install one datasource by client, and to change dinamicaly the ds of the bean before playing with datas.