Hi,
I've seen this topic and I find it cool:
http://drc.ideablade.com/xwiki/bin/view/Documentation/many-models-per-manager
Example, I have two Models:
Model A
Customer
Model B
Employee
Then using the approach given on the post, I'll use EntityManager to query:
so..
EntityManager context = new EntityManager();
var query1 = context.GetQuery<Customer>().Execute();
var query2 = context.GetQuery<Employee>().Execute();
the question would be, how about if Model A connects to DB A and Model B connects to DB B, how do we handle that?
Thanks,
Von