<?xml version="1.0" ?>
<!DOCTYPE hibernate-configuration PUBLIC 
"-//Hibernate/Hibernate Configuration DTD//EN"
"https://hibernate.sourceforge.net/hibernate-configuration-2.0.dtd" >
<hibernate-configuration>
    <session-factory>
        <!--MySQL JDBC Driver connection -->
        <property name="connection.driver_class">org.gjt.mm.mysql.Driver</property>
        <property name="connection.url">jdbc:mysql:///ogis</property>
        <property name="connection.username">root</property>
        <property name="connection.password"></property>
        <property name="dialect">net.sf.hibernate.dialect.MySQLDialect</property>
        <property name="transaction.factory_class">
            net.sf.hibernate.transaction.JDBCTransactionFactory
        </property>

        <!-- Mapping files -->
        <mapping resource="entity\DEPARTMENT.hbm.xml"/>
        <mapping resource="entity\EMPLOYEE.hbm.xml"/>
    </session-factory>
</hibernate-configuration>