<?xml version= ' 1.0 ' encoding= ' UTF-8 '?>
<! DOCTYPE hibernate-configuration Public
"-//hibernate/hibernate Configuration DTD 3.0//en"
"Http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd" >
<!--Generated by MyEclipse Hibernate Tools. -
<session-factory>
<!--EXAMDA Tip: Database user name
-
<property name= "Connection.username" >root</property>
<!--database url-->
<property name= "Connection.url" >
Jdbc:mysql://localhost:3306/sample
</property>
<!--dialect, each database corresponding to Dialet matches its platform features--
<property name= "dialect" >
Org.hibernate.dialect.MySQLDialect
</property>
<!--database Password--
<property name= "Connection.password" >123</property>
<!--database-driven
<property name= "Connection.driver_class" >
Com.mysql.jdbc.Driver
</property>
<!--whether to output SQL statements generated by the run to the log--
<property name= "Hibernate.show_sql" >True</property>
<!--Examda, whether to use out-of-database connections--
<property name= "Hibernate.use_out_join" >True</property>
<!--transaction Management class--
<property name= "Hibernate.transaction.factory_class" >net.sf.hibernate.transaction.jdbctransactionfactory </property>
<mapping resource= "Hbm/case.hbm.xml"/>
<mapping resource= "Hbm/copt.hbm.xml"/>
</session-factory>
Description of the Hibernate.cfg.xml file