But hibernate-reference.pdf document or hibernate in action book says if we use assigned generator we will be in troubles while working with detached objects/Trancient Persistence.
if you have HiA, at the end of 3.4.3 (page 92), i think they refer to your problem and say they discuss it in chapter 8, section 8.3.1 - legacy schemas and composite keys