[Hibernate] Hibernate 'assigned' key problem

2004-09-03 Thread Michael Mehrle
You guys might remember the 'assigned' PK issue which I resolved by putting the following xdoclet into the javadoc of my ID field:    /** Gets the guid.  *   * @return Returns the guid.  * @hibernate.id column="guid" generator-class="assigned" unsaved-value="null"  */ public String getGuid

[Hibernate] [Hiibernate 2] - Problems with scheduled insertions and cascade when object is changed

2004-09-03 Thread Simon Spero
[Hibernate2, seen in 2.1.5 and HEAD] I've hit a problem involving cascades and delayed insertions that is pretty annoying, and looks awkward to fix properly in h2. The problem can be seen if you create a parent object with a non identity id (e.g. assigned), and which has a cascaded child wi