Hi all!
I'm trying to increase the performance of this pseudocode:
 
for (j=1;j<100;j++)
{
    for (i=1;i<100;i++)
    {
        session.save(class)
    }
    session.flush();
    session.connection().commit();
}
 
 
Now my problem is that flush doesnt take a constant time, but every invocation of flush takes more time than the last one, the more I flush the slower it gets. To me it looks like hibernate keeps the references to the flushed objects in the entries map, and doesnt remove them. Is there anything I can do about it?
 
regards
 chris
 
 

Reply via email to