Hello,
I use hibernate for save, update and delete data in my database, but I have some problems.
For example I have a request for save or update my data in database
getHibernateTemplate().saveOrUpdate(client);
getHibernateTemplate().flush();
When I launch my server (TomCat) for the first and I save my data, all is okay, in my database I see my data.
If I delete the data and I run a new save of my client, it performs an Update rather than an Insert even though I have deleted the data.