Beginner |
|
Joined: Wed Mar 14, 2007 4:29 am Posts: 33
|
Hi,
i'having the exception: "resource not found Mapping\user.hbm.xml" while loading this configuration file:
<?xml version="1.0" encoding="utf-8" ?>
<hibernate-configuration xmlns="urn:nhibernate-configuration-2.2" >
<session-factory name="SessionName">
<property name="dialect">NHibernate.Dialect.Oracle9Dialect</property>
<property name="connection.provider">NHibernate.Connection.DriverConnectionProvider</property>
<property name="connection.driver_class">NHibernate.Driver.OracleClientDriver</property>
<property name="connection.connection_string">Data Source=**;User ID=**;Password=**;</property>
<property name="connection.isolation">ReadCommitted</property>
<property name="connection.show_sql">true</property>
<!-- HBM Mapping Files -->
<mapping assembly="MyAssembly" />
<mapping resource="Mapping/user.hbm.xml" assembly="MyAssembly"/>
</session-factory>
</hibernate-configuration>
Do you have an idea ? I don't understand why it doesn't find the resource beause the Mapping directory is in the same directory than the .exe
If i specify <mapping resource="C:\ ....\Mapping\user.hbm.xml" it's the same !
:/
|
|