-->
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: What is the replacement for ICriteria.Criteriaclass in NH1.2
PostPosted: Thu Feb 22, 2007 10:10 pm 
Beginner
Beginner

Joined: Mon Sep 26, 2005 5:57 pm
Posts: 39
I have code that uses Icriteria.criteriaclass in 1.03 but this property is no longer available in NH 1.2. The migration guide does not address this. What is the replacement that I can use?


Top
 Profile  
 
 Post subject:
PostPosted: Fri Feb 23, 2007 2:42 am 
Contributor
Contributor

Joined: Wed May 11, 2005 4:59 pm
Posts: 1766
Location: Prague, Czech Republic
You can either remember it yourself or cast the class to CriteriaImpl and use its property (this is of course dangerous as you will be using non-public APIs). See also this post: http://forum.hibernate.org/viewtopic.php?t=940854


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.