... until the collector arrives ...

This "blog" is really just a scratchpad of mine. There is not much of general interest here. Most of the content is scribbled down "live" as I discover things I want to remember. I rarely go back to correct mistakes in older entries. You have been warned :)

2007-01-15

Hibernate 3.1.3 Failed Saves

Hibernate 3.1.3 has the following buggy behaviour.  If a Session.saveOrUpdate() fails, the object being saved is still marked for saving.  Thus, the next time Hibernate tries to synchronize with the data store, the save will be retried and (probably) fail again.  The object should not be so marked until the application elects to explicitly try to save again.  This appears to be fixed in Hibernate 3.2.

Blog Archive