Will: Expression exp = sq.getQualifier(); String clause = exp.toString();
do what you are wanting? On 10/9/07, David Marko <[EMAIL PROTECTED]> wrote: > Hello, I need to create a select query that have some parameters and I need > to > get SQL where statement from it containing replaced parameters. (see snippet > below) . Is there any way how to accomplish this? > > > [Code snippet] > SelectQuery sq = new > SelectQuery(Role.class,Expression.fromString(this.whereClause)); > return sq.queryWithParameters(params); >
