Hi there,
I have an application with a bunch of entities (>80 and growing) and a single EntityManager to handle them all, in all the different application processes.
My question is, since I have specific areas of my application where a much more reduced entitymanager would suffice (i.e. if I created a new entitymanager with only 8-10 entities to manage specific application areas where the business domain is much smaller) I am wondering if it would make sense to change my focus, and instead of having one huge entitymanager, I could have two or more smaller entitymanagers to deal with a smaller set of different entities. I believe that could have an impact on performance, since I have noticed that the smaller the entity set handled to the entitymanager, the more efficient it performs.
Can any expertise hibernate user give any hints on that? Not to be used as a completely new strategy, but I believe it could fasten things up at some areas of my application.
Thanks for your time. Carlos.
|