-->
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: Criteria API and interfaces
PostPosted: Tue Nov 18, 2003 9:25 am 
Newbie

Joined: Tue Nov 11, 2003 2:27 pm
Posts: 9
I'm trying to use the Criteria API to create a query with a query with a widely varying set of criteria, the alternative being to build it via string concatenation. The problem is that I'm trying to search off of an interface. The query API seems to handle this pretty well, but createCriteria throws an exception.

I understand that the Criteria API is still experimental and if this is something that's being worked on. If so, does anyone have a suggestion for a reasonable workaround? The implementing interfaces are a fairly static bunch, so some sort of joining strategy is an option.

If not, I guess I


Top
 Profile  
 
 Post subject:
PostPosted: Tue Nov 18, 2003 9:28 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 12:50 pm
Posts: 5130
Location: Melbourne, Australia
Criteria API does not support implicit polymorphism. There is no plan for it to do so, at this stage. Sorry.


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.