From: <tu...@us...> - 2003-03-03 06:39:19
|
Update of /cvsroot/hibernate/Hibernate2/doc/reference/src In directory sc8-pr-cvs1:/tmp/cvs-serv1377/src Modified Files: manipulating_data.xml Log Message: We don't have toplevel collections anymore Index: manipulating_data.xml =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/doc/reference/src/manipulating_data.xml,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** manipulating_data.xml 3 Mar 2003 01:07:03 -0000 1.4 --- manipulating_data.xml 3 Mar 2003 06:39:11 -0000 1.5 *************** *** 427,439 **** their state also updated. (Except for lifecycle objects.) </para> - - <para> - Limitation: <literal>Session.update()</literal> may <emphasis>not</emphasis> be used on - objects that contain toplevel collections (including subcollections). - </para> <para> Hibernate users have requested a general purpose method that either saves a ! transient instance by generating a new identifier or updates the persistent state associated with its current identifier. The <literal>saveOrUpdate()</literal> method now implements this functionality. Hibernate distinguishes "new" (unsaved) --- 427,434 ---- their state also updated. (Except for lifecycle objects.) </para> <para> Hibernate users have requested a general purpose method that either saves a ! transient instance by generating a new identifier or update the persistent state associated with its current identifier. The <literal>saveOrUpdate()</literal> method now implements this functionality. Hibernate distinguishes "new" (unsaved) |