Source code Changes To

samples-source-code / samples / javaee / DVDStoreEE6 / src / java / hibernate.cfg.xml

From revision 76 to 77:

--- hibernate.cfg.xml	(revision 76)
+++ hibernate.cfg.xml	(revision 77)
@@ -7,14 +7,14 @@
     <property name="hibernate.connection.url">jdbc:mysql://localhost:3306/sakila</property>
     <property name="hibernate.connection.username">root</property>
     <property name="hibernate.connection.password">root</property>
+    <property name="hibernate.show_sql">true</property>
+    <property name="hibernate.current_session_context_class">thread</property>
+    <property name="hibernate.query.factory_class">org.hibernate.hql.classic.ClassicQueryTranslatorFactory</property>
     <mapping resource="dvdrental/FilmActor.hbm.xml"/>
     <mapping resource="dvdrental/FilmCategory.hbm.xml"/>
     <mapping resource="dvdrental/Category.hbm.xml"/>
     <mapping resource="dvdrental/Language.hbm.xml"/>
     <mapping resource="dvdrental/Film.hbm.xml"/>
     <mapping resource="dvdrental/Actor.hbm.xml"/>
-    <property name="hibernate.show_sql">true</property>
-    <property name="hibernate.current_session_context_class">thread</property>
-    <property name="hibernate.query.factory_class">org.hibernate.hql.classic.ClassicQueryTranslatorFactory</property>
   </session-factory>
 </hibernate-configuration>

Project Features

About this Project

NetBeans Samples Catalog was started in February 2010, is owned by kganfield, and has 125 members.
By use of this website, you agree to the NetBeans Policies and Terms of Use (revision 20160708.bf2ac18). © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
 
 
Close
loading
Please Confirm
Close