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
|