Hi, thanks for your help in advance.
I have a peculiar problem and Im sure its a standard issue encountered often. I load data into hibernate-managed pojos that refer to each other via many-to-one or many-to-many/sets of one-to-many relationships. problem is, updating even one of these pojos takes very long (at least 90 seconds, and i have no data in the db yet.....dreading what would happen in production). I looked in the log and hibernate basically updates every node of the graph individually recursively. I tried changing the fetch methd, setting batch-update, but nothing helps. can somebody suggest something? I have cascades set to save-update...is the only solution disabling them? (I hope not)
Thanks a lot Lev
|