-->
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: feature: criteria2hql conversion
PostPosted: Thu Jan 26, 2006 4:51 pm 
Newbie

Joined: Tue Mar 16, 2004 11:41 am
Posts: 6
Hello,

I very much like the Criteria API for dynamically constructing
queries. I would like a simple way to persist these queries.
One idea I had for achieving this simply: translate the
query to hql, and then you've effectively serialized the
query, easily persisted to a varchar. In the reverse,
deserialize an hql into a Criteria API query, one that you
can bind back to a GUI representation for later editing.

Basically the idea is to be able to persist queries to
database.

Please consider this post a vote for having such a feature
in a future version of hibernate.

Sincerely,
/ Eitan


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.