Author: steve.ebersole(a)jboss.com
Date: 2010-08-31 14:19:55 -0400 (Tue, 31 Aug 2010)
New Revision: 20293
Modified:
core/trunk/documentation/quickstart/tutorials/annotations/src/test/resources/hibernate.cfg.xml
core/trunk/documentation/quickstart/tutorials/basic/src/test/resources/hibernate.cfg.xml
core/trunk/documentation/quickstart/tutorials/entitymanager/src/test/resources/META-INF/persistence.xml
Log:
HHH-5441 - Create "Getting Started Guide"
Modified:
core/trunk/documentation/quickstart/tutorials/annotations/src/test/resources/hibernate.cfg.xml
===================================================================
---
core/trunk/documentation/quickstart/tutorials/annotations/src/test/resources/hibernate.cfg.xml 2010-08-31
17:59:31 UTC (rev 20292)
+++
core/trunk/documentation/quickstart/tutorials/annotations/src/test/resources/hibernate.cfg.xml 2010-08-31
18:19:55 UTC (rev 20293)
@@ -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"/>
Modified:
core/trunk/documentation/quickstart/tutorials/basic/src/test/resources/hibernate.cfg.xml
===================================================================
---
core/trunk/documentation/quickstart/tutorials/basic/src/test/resources/hibernate.cfg.xml 2010-08-31
17:59:31 UTC (rev 20292)
+++
core/trunk/documentation/quickstart/tutorials/basic/src/test/resources/hibernate.cfg.xml 2010-08-31
18:19:55 UTC (rev 20293)
@@ -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"/>
Modified:
core/trunk/documentation/quickstart/tutorials/entitymanager/src/test/resources/META-INF/persistence.xml
===================================================================
---
core/trunk/documentation/quickstart/tutorials/entitymanager/src/test/resources/META-INF/persistence.xml 2010-08-31
17:59:31 UTC (rev 20292)
+++
core/trunk/documentation/quickstart/tutorials/entitymanager/src/test/resources/META-INF/persistence.xml 2010-08-31
18:19:55 UTC (rev 20293)
@@ -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>
Show replies by date