-->
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.  [ 2 posts ] 
Author Message
 Post subject: NHibernate.Expression.Example and ignored fields
PostPosted: Fri Jan 12, 2007 1:31 am 
Beginner
Beginner

Joined: Fri Jan 12, 2007 1:08 am
Posts: 41
According to section 12.6 of the 1.2.0 NHibernate docs "Version properties, identifiers and associations are ignored". And this is the behavior that I observe.

However I see this as dangerous because if you use this feature and consume an object with one of the ignored properties set this portion of the filter is simply ignored. Would it not be better to throw an exception in this case because the filtering only takes into account a portion of the consumed object and I do not believe that this is clearly communicated to the developer.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jan 12, 2007 4:30 am 
Contributor
Contributor

Joined: Wed May 11, 2005 4:59 pm
Posts: 1766
Location: Prague, Czech Republic
Submit a feature request and I will consider it but I don't promise anything.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 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.