Hello Overflowers,
I am working with Spring and Hibernate. I have an object which was retrieved from the database with HibernateTemplate.
When I modify this object Hibernate is making inserts into the database before the data is ready to be inserted, the result is a lot of database errors along the line of "cannot insert NULL into ...".
Is there a way to tell Spring/Hibernate "don't update the database with this until I call HibernateTemplate.persist()"? I looked in the HibernateTemplate javadoc but couldn't find anything