Added note
git-svn-id: https://svn.jboss.org/repos/hibernate/trunk/Hibernate3/doc@8108 1b8cb986-b30d-0410-93ca-fae66ebed9b2
This commit is contained in:
parent
a348654262
commit
904ab85e58
|
@ -592,7 +592,7 @@ build.xml]]></programlisting>
|
|||
|
||||
</sect2>
|
||||
|
||||
<sect2 id="tutorial-firstapp-workingpersistence">
|
||||
<sect2 id="tutorial-firstapp-workingpersistence" revision="1">
|
||||
<title>Loading and storing objects</title>
|
||||
|
||||
<para>
|
||||
|
@ -768,6 +768,14 @@ else if (args[0].equals("list")) {
|
|||
times more.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
Note: Most new Hibernate users fail at this point and we see questions about
|
||||
<emphasis>Table not found</emphasis> error messages regularly. However, if you follow the
|
||||
steps outlined above you will not have this problem, as hbm2ddl creates the database
|
||||
schema on the first run, and subsequent application restarts will use this schema. If
|
||||
you change the mapping and/or database schema, you have to re-enable hbm2ddl once again.
|
||||
</para>
|
||||
|
||||
</sect2>
|
||||
|
||||
</sect1>
|
||||
|
|
Loading…
Reference in New Issue