1<?xml version='1.0' encoding='UTF-8'?>
2<!DOCTYPE hibernate-configuration PUBLIC
3 "-//Hibernate/Hibernate Configuration DTD 3.0//EN"
4 "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
5
6<hibernate-configuration>
7
8 <session-factory>
9 <property name="hbm2ddl.auto">update</property>
10 <property name="dialect">org.hibernate.dialect.Oracle9Dialect</property>
11 <property name="connection.url">jdbc:oracle:thin:@localhost:1521:xe</property>
12 <property name="connection.username">system</property>
13 <property name="connection.password">oracle</property>
14 <property name="connection.driver_class">oracle.jdbc.driver.OracleDriver</property>
15 <mapping resource="employee.hbm.xml"/>
16 </session-factory>
17
18</hibernate-configuration>