kokoness wrote:
1. I retrieve an existing workQueue, modify it's id to an already existing Id, save. = succesful.
2. Create an existing workqueue object, save. = succesful
3. I retrieve an existing workQueue, modify it's id to a non-existing id, save = failure. (the above exception shows up)
4. Create a non-existing workqueue object, save = failure. (above exception)
before, when id is still autoincrement and generator class is native, I had no problem saving a non-existing workqueue.
For some reason, NHIbernate thinks that it should update or delete some object. Maybe You should show us real code, otherwise it is hard to guess what's going on.
Gert