Are you saying that the way it should be worked? Then all is well!
I'm using Integer as my ID field for every entity, and Hibernate handles that automatically without specifying an unsaved value. Sorry, I didn't think of checking that.
Glad it's working for ya!