Howdy,
I am using Hibernate 2.1.8 in an app server (weblogic 8.1). I am loading many Pojos (mapped to the same table) and modifing only one attribute. After flushing, Hibernate generates as many requests as Pojos.
update table t set t.column1 = 'toto' where t.DB_ID = XX;
I am wondering if it is possible to modify Hibernate code, in order to generate only one request for all Pojos?
update table t set t.column1 = 'toto' where t.DB_ID in (XX, YY, ZZ....);
Do you think that it is feasable? if yes can you give me some hints.
Thank you in advance.
|