Joined: Wed Jun 27, 2007 4:11 am Posts: 1
|
Hi all,
Am new to Hibernate. I tried out a simple example from the net and am getting teh following error
Error reading Contact.hbm.xml
am using eclipse and my two xmls are directly under the src folder. Both the xmls are in the same directory but still error
-----------------
<session-factory>
<property name="hibernate.connection.driver_class">oracle.jdbc.driver.OracleDriver</property>
<property name="hibernate.connection.url">jdbc:oracle:thin:@oraieso.india.hp.com:1521:sid1</property>
<property name="hibernate.connection.username">ieso5</property>
<property name="hibernate.connection.password">ieso5</property>
<property name="hibernate.connection.pool_size">10</property>
<property name="show_sql">true</property>
<property name="dialect">org.hibernate.dialect.OracleDialect</property>
<property name="hibernate.hbm2ddl.auto">update</property>
<!-- Mapping files -->
<mapping resource="contact.hbm.xml"/>
</session-factory>
-----------------------------------
Please help me out
|
|