-->
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: Adding toString to ExistsSubqueryExpression
PostPosted: Thu Nov 26, 2009 9:31 am 
Newbie

Joined: Thu Sep 04, 2008 5:36 pm
Posts: 2
Location: Buenos Aires
Hello,

we are using Hibernate's Criteria API. In order to debug and trace the criteria that we are creating, we are using the toString method on the DetachedCriteria object.
However, when we started using an ExistsSubqueryExpression, we noticed that it doesn't have a toString definition, inheriting the default Object behaviour.
Would it be possible to add a sensible toString method to that class? If I send a patch, would you consider it for applying?

Another alternative would be to add an API that would allow to inspect a DetachedCriteria, but I think that would require more involvement and some design effort from the developers.

Please tell me if there's anything I can do to help move this forward, I'll gladly contribute patches.

Cheers,
Tomas


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.