From: Michael D. <mik...@us...> - 2004-08-18 20:48:00
|
Update of /cvsroot/nhibernate/nhibernate/src/NHibernate/Loader In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6953/NHibernate/Loader Modified Files: Loader.cs Log Message: Refactoring of converting Hql to SqlString. Index: Loader.cs =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate/Loader/Loader.cs,v retrieving revision 1.26 retrieving revision 1.27 diff -C2 -d -r1.26 -r1.27 *** Loader.cs 16 Aug 2004 05:26:39 -0000 1.26 --- Loader.cs 18 Aug 2004 20:47:51 -0000 1.27 *************** *** 190,194 **** // a string passed to it is a string. st = PrepareQueryStatement( ! ApplyLocks(new SqlString(SQLString), lockModes, session.Factory.Dialect).ToString() , values, types, namedParams, selection, false, session ); } --- 190,194 ---- // a string passed to it is a string. st = PrepareQueryStatement( ! ApplyLocks(SqlString, lockModes, session.Factory.Dialect) , values, types, namedParams, selection, false, session ); } *************** *** 591,594 **** --- 591,601 ---- } + protected virtual IDbCommand PrepareQueryStatement(SqlString sql, object[] values, IType[] types, IDictionary namedParams, RowSelection selection, bool scroll, ISessionImplementor session) + { + // TODO: this is just a hack because I moved it to Hql.QueryTranslator. It will be removed + // once everything is converted to SqlString instead of strings holding sql... + return null; + } + /// <summary> /// Creates an IDbCommand object and populates it with the values necessary to execute it against the |