标签:ESS ext assembly actor database conf version prope bsp
<?xml version="1.0" encoding="utf-8" ?> <hibernate-configuration xmlns="urn:nhibernate-configuration-2.2" > <!--配置Database--> <session-factory name="NHibernate_CPCM"> <!--数据库驱动--> <property name="connection.driver_class">NHibernate.Driver.OracleClientDriver</property> <!--数据库连接字符串--> <property name="connection.connection_string"> User ID=system;Password=123;Data Source=127.0.0.1/Ycc; </property> <!--数据库方言--> <property name="dialect">NHibernate.Dialect.Oracle10gDialect</property> <!--配置Session上下文--> <property name="current_session_context_class">wcf_operation</property> <!--配置动态代理--> <property name="connection.release_mode">after_transaction</property> <!--配置是否显示Sql--> <property name="show_sql">true</property> <!--配置实体对象程序集--> <mapping assembly="Model"/> </session-factory> </hibernate-configuration>
下载驱动包
配置环境变量
标签:ESS ext assembly actor database conf version prope bsp
原文地址:https://www.cnblogs.com/yuncc/p/10557667.html