NHibernate: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 1: | Line 1: | ||
<source lang="xml"> | |||
<?xml version="1.0" encoding="utf-8" ?> | |||
<hibernate-configuration xmlns="urn:nhibernate-configuration-2.2"> | |||
<session-factory> | |||
<property name="connection.driver_class">NHibernate.Driver.OracleManagedDataClientDriver</property> | |||
<property name="connection.connection_string">User Id=user;Password=p@$$w0rd;Data Source=(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=10.19.83.207)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=XE)))</property> | |||
<property name="show_sql">true</property> | |||
<property name="dialect">NHibernate.Dialect.Oracle10gDialect</property> | |||
<property name="query.substitutions">true 1, false 0, yes 'Y', no 'N'</property> | |||
</session-factory> | |||
</hibernate-configuration> | |||
</source> | |||
==References== | ==References== | ||
{| | {| |
Revision as of 07:52, 20 December 2020
<?xml version="1.0" encoding="utf-8" ?>
<hibernate-configuration xmlns="urn:nhibernate-configuration-2.2">
<session-factory>
<property name="connection.driver_class">NHibernate.Driver.OracleManagedDataClientDriver</property>
<property name="connection.connection_string">User Id=user;Password=p@$$w0rd;Data Source=(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=10.19.83.207)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=XE)))</property>
<property name="show_sql">true</property>
<property name="dialect">NHibernate.Dialect.Oracle10gDialect</property>
<property name="query.substitutions">true 1, false 0, yes 'Y', no 'N'</property>
</session-factory>
</hibernate-configuration>