Re: [hibernate-dev] merge on new entities

2014-01-27 Thread Emmanuel Bernard
We might, but to add to the complexity, Hibernate ORM uses "merge" plans to optimize the number of selects for a given object graph merged. A non associated object being merged might be more common though, not sure. On Mon 2014-01-27 9:14, Sanne Grinovero wrote: > Thanks! > yes we got to that con

Re: [hibernate-dev] merge on new entities

2014-01-27 Thread Sanne Grinovero
Thanks! yes we got to that conclusion. The question came from Radim in Infinispan team attempting to figure out how to squeeze some more performance from the JPACacheStore from Infinispan. It's tricky that in Infinipan we don't know if something is a new entry or an update; I had a highly customiz