-->
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: Criteria createCriteria(Object collection) in Session API
PostPosted: Fri Apr 22, 2005 3:48 am 
Regular
Regular

Joined: Mon Sep 20, 2004 8:42 am
Posts: 58
Location: Boston, US
Hibernate version:3.0.1

The Hibernate API has the following method
Code:
public Query createFilter(Object collection,
                          String queryString)
                   throws HibernateException


Also was hoping to find the following API as it would allow more powerful programmatic manipulations (sort in addition to filter etc) of collections.

Code:
public Criteria createCriteria(Object collection)
                   throws HibernateException


Can this be added?


Thanks,
Sanjiv

PS: I was wondering why the API take the collection argument as Object type and not java.util.Collection.


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.