From: Michael D. <mik...@us...> - 2004-08-18 20:48:42
|
Update of /cvsroot/nhibernate/nhibernate/src/NHibernate.Test In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7098/NHibernate.Test Modified Files: SimpleTest.cs Log Message: Changed a Load to Find to help with debugging of hql with a simple query. Index: SimpleTest.cs =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate.Test/SimpleTest.cs,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** SimpleTest.cs 9 Jun 2004 01:05:46 -0000 1.4 --- SimpleTest.cs 18 Aug 2004 20:48:33 -0000 1.5 *************** *** 79,83 **** ITransaction t3 = s3.BeginTransaction(); ! Simple simple3 = (Simple)s3.Load(typeof(Simple), key); Simple otherSimple3; --- 79,84 ---- ITransaction t3 = s3.BeginTransaction(); ! // Simple simple3 = (Simple)s3.Load(typeof(Simple), key); ! Simple simple3 = (Simple)s3.Find( "from Simple as s where s.id = ? and '?'='?'", key, NHibernate.Int64 )[0]; Simple otherSimple3; |