<? 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>
<Hibernate-configuration>
<Session-factory>
<! -- MySQL connection settings
<Property name = "connection. driver_class"> com. MySQL. JDBC. Driver </property>
<Property name = "connection. url"> JDBC: mysql: // localhost: 3306/test </property>
<Property name = "connection. username"> root </property>
<Property name = "connection. Password"> root </property>
<Property name = "dialect"> org. hibernate. dialect. mysqldialect </property>
-->
<Property name = "show_ SQL"> true </property>
<Property name = "format_ SQL"> true </property>
<Property name = "current_session_context_class"> thread </property>
<Property name = "hbm2ddl. Auto"> Create </property>
<Property name = "myeclipse. Connection. Profile">
Myeclipse Derby
</Property>
<Property name = "connection. url"> JDBC: mysql: // localhost: 3306/test </property>
<Property name = "connection. username"> root </property>
<Property name = "connection. Password"> root </property>
<Property name = "connection. driver_class">
Com. MySQL. JDBC. Driver
</Property>
<Property name = "dialect"> org. hibernate. dialect. mysqldialect </property>
<Mapping Resource = "com/tarena/BAM/entity/account. HBM. xml"/>
</Session-factory>
</Hibernate-configuration>