HHH-5441 - Create "Getting Started Guide"

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20293 1b8cb986-b30d-0410-93ca-fae66ebed9b2
This commit is contained in:
Steve Ebersole 2010-08-31 18:19:55 +00:00
parent e79afeb588
commit 0b6e54aa82
3 changed files with 3 additions and 4 deletions

View File

@ -49,7 +49,7 @@
<property name="show_sql">true</property>
<!-- Drop and re-create the database schema on startup -->
<property name="hbm2ddl.auto">update</property>
<property name="hbm2ddl.auto">create</property>
<!-- Names the annotated entity class -->
<mapping class="org.hibernate.tutorial.annotations.Event"/>

View File

@ -49,7 +49,7 @@
<property name="show_sql">true</property>
<!-- Drop and re-create the database schema on startup -->
<property name="hbm2ddl.auto">update</property>
<property name="hbm2ddl.auto">create</property>
<mapping resource="org/hibernate/tutorial/hbm/Event.hbm.xml"/>

View File

@ -40,8 +40,7 @@
<property name="javax.persistence.jdbc.password" value="" />
<property name="hibernate.show_sql" value="true" />
<property name="hibernate.hbm2ddl.auto" value="update" />
<property name="hibernate.hbm2ddl.auto" value="create" />
</properties>
</persistence-unit>