-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 
Author Message
 Post subject: Can't see Find<T>() method
PostPosted: Tue Feb 13, 2007 3:33 pm 
Newbie

Joined: Sat Jan 20, 2007 3:16 pm
Posts: 9
Hibernate version:1.2.0.2003

Hi,

I am referenceing NHibernate\bin\Net-2.0\NHibernate.dll in my project.

I am not seeing session.Find<T>() method in the version I am using (1.2.0 Beta3 according to the release notes). I am able to see Get<T> and also the source itself shows the Find<T>() method in SessionImpl class with #if NET_2_0.

What am I missing?

thanks
Murthy


Top
 Profile  
 
 Post subject:
PostPosted: Tue Feb 13, 2007 6:17 pm 
Contributor
Contributor

Joined: Wed May 11, 2005 4:59 pm
Posts: 1766
Location: Prague, Czech Republic
ISession.Find is deprecated, use CreateQuery().List() instead. That's why I didn't provide the generic overload. What you see in SessionImpl are internal methods.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Feb 13, 2007 7:23 pm 
Newbie

Joined: Sat Jan 20, 2007 3:16 pm
Posts: 9
sergey wrote:
ISession.Find is deprecated, use CreateQuery().List() instead. That's why I didn't provide the generic overload. What you see in SessionImpl are internal methods.


Thanks!


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.