Not best practice removed

git-svn-id: https://svn.jboss.org/repos/hibernate/trunk/Hibernate3/doc@4564 1b8cb986-b30d-0410-93ca-fae66ebed9b2
This commit is contained in:
Christian Bauer 2004-09-17 20:20:48 +00:00
parent 19c07ec1bf
commit 9d685b6c17
1 changed files with 1 additions and 2 deletions

View File

@ -138,8 +138,7 @@
the <literal>Transaction</literal> and close the <literal>Session</literal>. If you don't, Hibernate
can't guarantee that in-memory state accurately represents persistent state. As a special case of this,
do not use <literal>Session.load()</literal> to determine if an instance with the given identifier
exists on the database; use <literal>find()</literal> instead. Some exceptions are recoverable, for
example the <literal>StaleObjectStateException</literal> and <literal>ObjectNotFoundException</literal>.
exists on the database; use <literal>find()</literal> instead.
</para>
</listitem>
</varlistentry>