title: Hibernate assigned generator
body: <p>The generator element in the hibernate mapping file is supposed to be used to determine how the primary key is generated. Why is the default value <em>assigned</em> bad for detached and transient objects?</p>