NHibernate version: 1.2.0
When omitting the schema attribute in mapping files and using default_shema property in the NHibernate configuration, generated SQL statements are not qualified using the schema name.
Code:
<?xml version="1.0" encoding="utf-8" ?>
<hibernate-configuration xmlns="urn:nhibernate-configuration-2.2">
<session-factory>
<property name="dialect">NHibernate.Dialect.OracleDialect</property>
<property name="default_schema">DOCREPO_DEV1</property>
<property name="show_sql">true</property>
<property name="connection.provider">NHibernate.Connection.DriverConnectionProvider</property>
<property name="connection.driver_class">NHibernate.Driver.OracleDataClientDriver</property>
<property name="connection.connection_string"><![CDATA[user ID=epsilon;Password=epsilon;Data Source=QA10G.INTEGRIM.COM]]></property>
<mapping assembly="ClinCaptDocRepo" />
</session-factory>
</hibernate-configuration>
Any suggestions?