<!DOCTYPE hibernate-configuration PUBLIC 
          "-//Hibernate/Hibernate Configuration DTD//EN"
          "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">

<hibernate-configuration>

    <session-factory>

        <!--===================-->
        <!-- database settings -->
        <!--===================-->

        <property name="hibernate.dialect">
            org.hibernate.dialect.PostgreSQLDialect
        </property>

        <property name="query.substitutions">yes 'Y', no 'N'</property>
        <property name="jdbc.use_streams_for_binary">true</property>
        <property name="show_sql">false</property>

        <!--=======-->
        <!-- Cache -->
        <!--=======-->

        <property name="hibernate.cache.provider_class">
            org.hibernate.cache.EhCacheProvider
        </property>

        <!--================-->
        <!-- mapping files -->
        <!--================-->

        <mapping resource="hbm/Employee.hbm.xml" />

    </session-factory>

</hibernate-configuration>
