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:
parent
e79afeb588
commit
0b6e54aa82
|
@ -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"/>
|
||||
|
|
|
@ -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"/>
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue