SelectQuery and getting where clause

From: David Marko (dmark..iscali.cz)
Date: Tue Oct 09 2007 - 07:11:04 EDT

  • Next message: David Marko: "Cayenne ActiveRecord like interface"

    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);



    This archive was generated by hypermail 2.0.0 : Tue Oct 09 2007 - 07:11:41 EDT