NHibernate: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 32: | Line 32: | ||
* [https://stackoverflow.com/questions/189280/ NHibernate with SQLite Memory & Shared Cache] | * [https://stackoverflow.com/questions/189280/ NHibernate with SQLite Memory & Shared Cache] | ||
* [https://stackoverflow.com/questions/33509331/ <code>Oracle.DataAccess.Client</code> Dependencies] | * [https://stackoverflow.com/questions/33509331/ <code>Oracle.DataAccess.Client</code> Dependencies] | ||
* [https://stackoverflow.com/questions/15370001/ Setting arbitrary properties in Fluent NHibernate] | |||
* [https://medium.com/@RobertKhou/asp-net-core-mvc-identity-using-postgresql-database-bc52255f67c4 ASP.NET Core MVC Identity using PostgreSQL] | * [https://medium.com/@RobertKhou/asp-net-core-mvc-identity-using-postgresql-database-bc52255f67c4 ASP.NET Core MVC Identity using PostgreSQL] | ||
* [https://stackoverflow.com/questions/32229132/ NHibernate & Oracle Managed Client] | * [https://stackoverflow.com/questions/32229132/ NHibernate & Oracle Managed Client] |
Revision as of 10:28, 20 December 2020
Oracle Managed Client
<?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>