On Thursday, March 28, 2002, at 04:55 PM, Steve wrote: > But what I am wondering is if there is a way to get the > subselect statement from another criteria object? The > Criteria.toString() > method has the exact query I need, it just has a bunch of unnecessary > information in front of it.
Steve Dobie is correct: > Use BasePeer.createQueryString(criteriaA) The Criteria.toString() method calls BasePeer.createQueryString(Criteria) in order to create the part of the output that you are probably interested in. -Eric -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
