From: Michael D. <mik...@us...> - 2004-08-28 04:14:09
|
Update of /cvsroot/nhibernate/nhibernate/src/NHibernate/Connection In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29299/src/NHibernate/Connection Modified Files: ConnectionProvider.cs Log Message: Minor formatting changes made while working on other code. Index: ConnectionProvider.cs =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate/Connection/ConnectionProvider.cs,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** ConnectionProvider.cs 24 Jul 2004 20:43:22 -0000 1.5 --- ConnectionProvider.cs 28 Aug 2004 04:14:01 -0000 1.6 *************** *** 38,42 **** public virtual void Configure(IDictionary settings) { ! log.Info("Configuring ConnectionProvider"); // default the poolSize to 0 if no setting was made because most of the .net DataProvider --- 38,42 ---- public virtual void Configure(IDictionary settings) { ! log.Info( "Configuring ConnectionProvider" ); // default the poolSize to 0 if no setting was made because most of the .net DataProvider *************** *** 44,52 **** // if the .net DataProvider did not provide their own connection pooling. I don't know of // any instances of this yet. ! poolSize = PropertiesHelper.GetInt32(Cfg.Environment.PoolSize, settings, 0); ! log.Info("NHibernate connection pool size: " + poolSize); connString = settings[ Cfg.Environment.ConnectionString ] as string; ! if (connString==null) throw new HibernateException("Could not find connection string setting"); ConfigureDriver(settings); --- 44,55 ---- // if the .net DataProvider did not provide their own connection pooling. I don't know of // any instances of this yet. ! poolSize = PropertiesHelper.GetInt32( Cfg.Environment.PoolSize, settings, 0 ); ! log.Info( "NHibernate connection pool size: " + poolSize ); connString = settings[ Cfg.Environment.ConnectionString ] as string; ! if (connString==null) ! { ! throw new HibernateException("Could not find connection string setting"); ! } ConfigureDriver(settings); |