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.  [ 1 post ] 
Author Message
 Post subject: Native queries?
PostPosted: Mon Dec 18, 2006 3:11 pm 
Newbie

Joined: Thu Jun 29, 2006 11:49 am
Posts: 13
I can see that the DB4O guys are advancing very well with their object-oriented persistance effort. For example, let me show you this kind of statically typed query:

IList<Student> students = db.Query<Student>(delegate(Student student){
return student.Age < 20
&& student.Grade == gradeA;
});

(Extracted from http://developer.db4o.com/blogs/kudos/archive/2006/12/18/kudo-distributed-employees-all-around-the-world.aspx.)

Does NHibernate support this kind of query to be translated into SQL? If not, what is the most similar way to query like this?

Regards.


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

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.