From: <fab...@us...> - 2009-07-15 17:34:24
|
Revision: 4637 http://nhibernate.svn.sourceforge.net/nhibernate/?rev=4637&view=rev Author: fabiomaulo Date: 2009-07-15 17:34:19 +0000 (Wed, 15 Jul 2009) Log Message: ----------- Merge r4636 Added Paths: ----------- trunk/nhibernate/src/NHibernate.Config.Templates/FireBird.cfg.xml trunk/nhibernate/src/NHibernate.Config.Templates/MSSQL.cfg.xml trunk/nhibernate/src/NHibernate.Config.Templates/MySql.cfg.xml trunk/nhibernate/src/NHibernate.Config.Templates/Oracle.cfg.xml trunk/nhibernate/src/NHibernate.Config.Templates/PostgreSQL.cfg.xml trunk/nhibernate/src/NHibernate.Config.Templates/SQLite.cfg.xml Removed Paths: ------------- trunk/nhibernate/src/NHibernate.Config.Templates/FireBird.cfg.xml.tmpl trunk/nhibernate/src/NHibernate.Config.Templates/MSSQL.cfg.xml.tmpl trunk/nhibernate/src/NHibernate.Config.Templates/MySql.cfg.xml.tmpl trunk/nhibernate/src/NHibernate.Config.Templates/Oracle.cfg.xml.tmpl trunk/nhibernate/src/NHibernate.Config.Templates/PostgreSQL.cfg.xml.tmpl trunk/nhibernate/src/NHibernate.Config.Templates/SQLite.cfg.xml.tmpl Added: trunk/nhibernate/src/NHibernate.Config.Templates/FireBird.cfg.xml =================================================================== --- trunk/nhibernate/src/NHibernate.Config.Templates/FireBird.cfg.xml (rev 0) +++ trunk/nhibernate/src/NHibernate.Config.Templates/FireBird.cfg.xml 2009-07-15 17:34:19 UTC (rev 4637) @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="utf-8" ?> +<!-- +To work with FireBird you must add the assembly binding for FirebirdClient ADO.NET 2.0 DataProvider +to your App.config. +Example: +<runtime> +<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> + <qualifyAssembly partialName="FirebirdSql.Data.FirebirdClient" fullName="FirebirdSql.Data.FirebirdClient, Version=2.0.1.0, Culture=neutral, PublicKeyToken=3750abcc3150b00c" /> +</assemblyBinding> +</runtime> +--> +<!-- +This template was written to work with NHibernate.Test. +Copy the template to your NHibernate.Test project folder and rename it in hibernate.cfg.xml and change it +for your own use before compile tests in VisualStudio. +--> +<hibernate-configuration xmlns="urn:nhibernate-configuration-2.2" > + <session-factory name="NHibernate.Test"> + <property name="connection.driver_class">NHibernate.Driver.FirebirdClientDriver</property> + <property name="connection.connection_string"> + Server=localhost; + Database=C:\nhibernate.fdb; + User=SYSDBA;Password=masterkey + </property> + <property name="show_sql">false</property> + <property name="dialect">NHibernate.Dialect.FirebirdDialect</property> + <property name="command_timeout">60</property> + <property name="query.substitutions">true 1, false 0, yes 1, no 0</property> + <property name="proxyfactory.factory_class">NHibernate.ByteCode.LinFu.ProxyFactoryFactory, NHibernate.ByteCode.LinFu</property> + </session-factory> +</hibernate-configuration> Deleted: trunk/nhibernate/src/NHibernate.Config.Templates/FireBird.cfg.xml.tmpl =================================================================== --- trunk/nhibernate/src/NHibernate.Config.Templates/FireBird.cfg.xml.tmpl 2009-07-15 17:32:52 UTC (rev 4636) +++ trunk/nhibernate/src/NHibernate.Config.Templates/FireBird.cfg.xml.tmpl 2009-07-15 17:34:19 UTC (rev 4637) @@ -1,31 +0,0 @@ -<?xml version="1.0" encoding="utf-8" ?> -<!-- -To work with FireBird you must add the assembly binding for FirebirdClient ADO.NET 2.0 DataProvider -to your App.config. -Example: -<runtime> -<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> - <qualifyAssembly partialName="FirebirdSql.Data.FirebirdClient" fullName="FirebirdSql.Data.FirebirdClient, Version=2.0.1.0, Culture=neutral, PublicKeyToken=3750abcc3150b00c" /> -</assemblyBinding> -</runtime> ---> -<!-- -This template was written to work with NHibernate.Test. -Copy the template to your NHibernate.Test project folder and rename it in hibernate.cfg.xml and change it -for your own use before compile tests in VisualStudio. ---> -<hibernate-configuration xmlns="urn:nhibernate-configuration-2.2" > - <session-factory name="NHibernate.Test"> - <property name="connection.driver_class">NHibernate.Driver.FirebirdClientDriver</property> - <property name="connection.connection_string"> - Server=localhost; - Database=C:\nhibernate.fdb; - User=SYSDBA;Password=masterkey - </property> - <property name="show_sql">false</property> - <property name="dialect">NHibernate.Dialect.FirebirdDialect</property> - <property name="command_timeout">60</property> - <property name="query.substitutions">true 1, false 0, yes 1, no 0</property> - <property name="proxyfactory.factory_class">NHibernate.ByteCode.LinFu.ProxyFactoryFactory, NHibernate.ByteCode.LinFu</property> - </session-factory> -</hibernate-configuration> Added: trunk/nhibernate/src/NHibernate.Config.Templates/MSSQL.cfg.xml =================================================================== --- trunk/nhibernate/src/NHibernate.Config.Templates/MSSQL.cfg.xml (rev 0) +++ trunk/nhibernate/src/NHibernate.Config.Templates/MSSQL.cfg.xml 2009-07-15 17:34:19 UTC (rev 4637) @@ -0,0 +1,22 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +This template was written to work with NHibernate.Test. +Copy the template to your NHibernate.Test project folder and rename it in hibernate.cfg.xml and change it +for your own use before compile tests in VisualStudio. +--> +<!-- This is the System.Data.dll provider for SQL Server --> +<hibernate-configuration xmlns="urn:nhibernate-configuration-2.2" > + <session-factory name="NHibernate.Test"> + <property name="connection.driver_class">NHibernate.Driver.SqlClientDriver</property> + <property name="connection.connection_string"> + Server=(local);initial catalog=nhibernate;Integrated Security=SSPI + </property> + <property name="adonet.batch_size">10</property> + <property name="show_sql">false</property> + <property name="dialect">NHibernate.Dialect.MsSql2000Dialect</property> + <property name="use_outer_join">true</property> + <property name="command_timeout">60</property> + <property name="query.substitutions">true 1, false 0, yes 'Y', no 'N'</property> + <property name="proxyfactory.factory_class">NHibernate.ByteCode.LinFu.ProxyFactoryFactory, NHibernate.ByteCode.LinFu</property> + </session-factory> +</hibernate-configuration> \ No newline at end of file Deleted: trunk/nhibernate/src/NHibernate.Config.Templates/MSSQL.cfg.xml.tmpl =================================================================== --- trunk/nhibernate/src/NHibernate.Config.Templates/MSSQL.cfg.xml.tmpl 2009-07-15 17:32:52 UTC (rev 4636) +++ trunk/nhibernate/src/NHibernate.Config.Templates/MSSQL.cfg.xml.tmpl 2009-07-15 17:34:19 UTC (rev 4637) @@ -1,22 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- -This template was written to work with NHibernate.Test. -Copy the template to your NHibernate.Test project folder and rename it in hibernate.cfg.xml and change it -for your own use before compile tests in VisualStudio. ---> -<!-- This is the System.Data.dll provider for SQL Server --> -<hibernate-configuration xmlns="urn:nhibernate-configuration-2.2" > - <session-factory name="NHibernate.Test"> - <property name="connection.driver_class">NHibernate.Driver.SqlClientDriver</property> - <property name="connection.connection_string"> - Server=(local);initial catalog=nhibernate;Integrated Security=SSPI - </property> - <property name="adonet.batch_size">10</property> - <property name="show_sql">false</property> - <property name="dialect">NHibernate.Dialect.MsSql2000Dialect</property> - <property name="use_outer_join">true</property> - <property name="command_timeout">60</property> - <property name="query.substitutions">true 1, false 0, yes 'Y', no 'N'</property> - <property name="proxyfactory.factory_class">NHibernate.ByteCode.LinFu.ProxyFactoryFactory, NHibernate.ByteCode.LinFu</property> - </session-factory> -</hibernate-configuration> \ No newline at end of file Added: trunk/nhibernate/src/NHibernate.Config.Templates/MySql.cfg.xml =================================================================== --- trunk/nhibernate/src/NHibernate.Config.Templates/MySql.cfg.xml (rev 0) +++ trunk/nhibernate/src/NHibernate.Config.Templates/MySql.cfg.xml 2009-07-15 17:34:19 UTC (rev 4637) @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +This template was written to work with NHibernate.Test. +Copy the template to your NHibernate.Test project folder and rename it in hibernate.cfg.xml and change it +for your own use before compile tests in VisualStudio. +--> +<!-- This is the ByteFX.Data.dll provider for MySql --> +<hibernate-configuration xmlns="urn:nhibernate-configuration-2.2" > + <session-factory name="NHibernate.Test"> + <property name="connection.driver_class">NHibernate.Driver.MySqlDataDriver</property> + <property name="connection.connection_string"> + Database=test;Data Source=someip;User Id=blah;Password=blah + </property> + <property name="dialect">NHibernate.Dialect.MySQLDialect</property> + <property name="proxyfactory.factory_class">NHibernate.ByteCode.LinFu.ProxyFactoryFactory, NHibernate.ByteCode.LinFu</property> + </session-factory> +</hibernate-configuration> \ No newline at end of file Deleted: trunk/nhibernate/src/NHibernate.Config.Templates/MySql.cfg.xml.tmpl =================================================================== --- trunk/nhibernate/src/NHibernate.Config.Templates/MySql.cfg.xml.tmpl 2009-07-15 17:32:52 UTC (rev 4636) +++ trunk/nhibernate/src/NHibernate.Config.Templates/MySql.cfg.xml.tmpl 2009-07-15 17:34:19 UTC (rev 4637) @@ -1,17 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- -This template was written to work with NHibernate.Test. -Copy the template to your NHibernate.Test project folder and rename it in hibernate.cfg.xml and change it -for your own use before compile tests in VisualStudio. ---> -<!-- This is the ByteFX.Data.dll provider for MySql --> -<hibernate-configuration xmlns="urn:nhibernate-configuration-2.2" > - <session-factory name="NHibernate.Test"> - <property name="connection.driver_class">NHibernate.Driver.MySqlDataDriver</property> - <property name="connection.connection_string"> - Database=test;Data Source=someip;User Id=blah;Password=blah - </property> - <property name="dialect">NHibernate.Dialect.MySQLDialect</property> - <property name="proxyfactory.factory_class">NHibernate.ByteCode.LinFu.ProxyFactoryFactory, NHibernate.ByteCode.LinFu</property> - </session-factory> -</hibernate-configuration> \ No newline at end of file Added: trunk/nhibernate/src/NHibernate.Config.Templates/Oracle.cfg.xml =================================================================== --- trunk/nhibernate/src/NHibernate.Config.Templates/Oracle.cfg.xml (rev 0) +++ trunk/nhibernate/src/NHibernate.Config.Templates/Oracle.cfg.xml 2009-07-15 17:34:19 UTC (rev 4637) @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +This template was written to work with NHibernate.Test. +Copy the template to your NHibernate.Test project folder and rename it in hibernate.cfg.xml and change it +for your own use before compile tests in VisualStudio. +--> +<!-- This is the System.Data.OracleClient.dll provider for Oracle from MS --> +<hibernate-configuration xmlns="urn:nhibernate-configuration-2.2" > + <session-factory name="NHibernate.Test"> + <property name="connection.driver_class">NHibernate.Driver.OracleClientDriver</property> + <property name="connection.connection_string"> + User ID=nhibernate;Password=nhibernate;Data Source=localhost + </property> + <property name="show_sql">false</property> + <property name="dialect">NHibernate.Dialect.OracleDialect</property> + <property name="query.substitutions">true 1, false 0, yes 'Y', no 'N'</property> + <property name="proxyfactory.factory_class">NHibernate.ByteCode.LinFu.ProxyFactoryFactory, NHibernate.ByteCode.LinFu</property> + </session-factory> +</hibernate-configuration> \ No newline at end of file Deleted: trunk/nhibernate/src/NHibernate.Config.Templates/Oracle.cfg.xml.tmpl =================================================================== --- trunk/nhibernate/src/NHibernate.Config.Templates/Oracle.cfg.xml.tmpl 2009-07-15 17:32:52 UTC (rev 4636) +++ trunk/nhibernate/src/NHibernate.Config.Templates/Oracle.cfg.xml.tmpl 2009-07-15 17:34:19 UTC (rev 4637) @@ -1,19 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- -This template was written to work with NHibernate.Test. -Copy the template to your NHibernate.Test project folder and rename it in hibernate.cfg.xml and change it -for your own use before compile tests in VisualStudio. ---> -<!-- This is the System.Data.OracleClient.dll provider for Oracle from MS --> -<hibernate-configuration xmlns="urn:nhibernate-configuration-2.2" > - <session-factory name="NHibernate.Test"> - <property name="connection.driver_class">NHibernate.Driver.OracleClientDriver</property> - <property name="connection.connection_string"> - User ID=nhibernate;Password=nhibernate;Data Source=localhost - </property> - <property name="show_sql">false</property> - <property name="dialect">NHibernate.Dialect.OracleDialect</property> - <property name="query.substitutions">true 1, false 0, yes 'Y', no 'N'</property> - <property name="proxyfactory.factory_class">NHibernate.ByteCode.LinFu.ProxyFactoryFactory, NHibernate.ByteCode.LinFu</property> - </session-factory> -</hibernate-configuration> \ No newline at end of file Added: trunk/nhibernate/src/NHibernate.Config.Templates/PostgreSQL.cfg.xml =================================================================== --- trunk/nhibernate/src/NHibernate.Config.Templates/PostgreSQL.cfg.xml (rev 0) +++ trunk/nhibernate/src/NHibernate.Config.Templates/PostgreSQL.cfg.xml 2009-07-15 17:34:19 UTC (rev 4637) @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +This template was written to work with NHibernate.Test. +Copy the template to your NHibernate.Test project folder and rename it in hibernate.cfg.xml and change it +for your own use before compile tests in VisualStudio. +--> +<hibernate-configuration xmlns="urn:nhibernate-configuration-2.2" > + <session-factory name="NHibernate.Test"> + <property name="connection.driver_class">NHibernate.Driver.NpgsqlDriver</property> + <property name="connection.connection_string"> + Server=localhost;initial catalog=nhibernate;User ID=nhibernate;Password=nhibernate; + </property> + <property name="dialect">NHibernate.Dialect.PostgreSQLDialect</property> + <property name="proxyfactory.factory_class">NHibernate.ByteCode.LinFu.ProxyFactoryFactory, NHibernate.ByteCode.LinFu</property> + </session-factory> +</hibernate-configuration> \ No newline at end of file Deleted: trunk/nhibernate/src/NHibernate.Config.Templates/PostgreSQL.cfg.xml.tmpl =================================================================== --- trunk/nhibernate/src/NHibernate.Config.Templates/PostgreSQL.cfg.xml.tmpl 2009-07-15 17:32:52 UTC (rev 4636) +++ trunk/nhibernate/src/NHibernate.Config.Templates/PostgreSQL.cfg.xml.tmpl 2009-07-15 17:34:19 UTC (rev 4637) @@ -1,16 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- -This template was written to work with NHibernate.Test. -Copy the template to your NHibernate.Test project folder and rename it in hibernate.cfg.xml and change it -for your own use before compile tests in VisualStudio. ---> -<hibernate-configuration xmlns="urn:nhibernate-configuration-2.2" > - <session-factory name="NHibernate.Test"> - <property name="connection.driver_class">NHibernate.Driver.NpgsqlDriver</property> - <property name="connection.connection_string"> - Server=localhost;initial catalog=nhibernate;User ID=nhibernate;Password=nhibernate; - </property> - <property name="dialect">NHibernate.Dialect.PostgreSQLDialect</property> - <property name="proxyfactory.factory_class">NHibernate.ByteCode.LinFu.ProxyFactoryFactory, NHibernate.ByteCode.LinFu</property> - </session-factory> -</hibernate-configuration> \ No newline at end of file Added: trunk/nhibernate/src/NHibernate.Config.Templates/SQLite.cfg.xml =================================================================== --- trunk/nhibernate/src/NHibernate.Config.Templates/SQLite.cfg.xml (rev 0) +++ trunk/nhibernate/src/NHibernate.Config.Templates/SQLite.cfg.xml 2009-07-15 17:34:19 UTC (rev 4637) @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +This template was written to work with NHibernate.Test. +Copy the template to your NHibernate.Test project folder and rename it in hibernate.cfg.xml and change it +for your own use before compile tests in VisualStudio. +--> +<hibernate-configuration xmlns="urn:nhibernate-configuration-2.2" > + <session-factory name="NHibernate.Test"> + <property name="connection.driver_class">NHibernate.Driver.SQLiteDriver</property> + <property name="connection.connection_string"> + Data Source=nhibernate.db;Version=3 + </property> + <property name="dialect">NHibernate.Dialect.SQLiteDialect</property> + <property name="query.substitutions">true=1;false=0</property> + <property name="proxyfactory.factory_class">NHibernate.ByteCode.LinFu.ProxyFactoryFactory, NHibernate.ByteCode.LinFu</property> + </session-factory> +</hibernate-configuration> \ No newline at end of file Deleted: trunk/nhibernate/src/NHibernate.Config.Templates/SQLite.cfg.xml.tmpl =================================================================== --- trunk/nhibernate/src/NHibernate.Config.Templates/SQLite.cfg.xml.tmpl 2009-07-15 17:32:52 UTC (rev 4636) +++ trunk/nhibernate/src/NHibernate.Config.Templates/SQLite.cfg.xml.tmpl 2009-07-15 17:34:19 UTC (rev 4637) @@ -1,17 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- -This template was written to work with NHibernate.Test. -Copy the template to your NHibernate.Test project folder and rename it in hibernate.cfg.xml and change it -for your own use before compile tests in VisualStudio. ---> -<hibernate-configuration xmlns="urn:nhibernate-configuration-2.2" > - <session-factory name="NHibernate.Test"> - <property name="connection.driver_class">NHibernate.Driver.SQLiteDriver</property> - <property name="connection.connection_string"> - Data Source=nhibernate.db;Version=3 - </property> - <property name="dialect">NHibernate.Dialect.SQLiteDialect</property> - <property name="query.substitutions">true=1;false=0</property> - <property name="proxyfactory.factory_class">NHibernate.ByteCode.LinFu.ProxyFactoryFactory, NHibernate.ByteCode.LinFu</property> - </session-factory> -</hibernate-configuration> \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |