Re: Apostrophe escaping in select

From: Mark Fraser (mar..ark100.net)
Date: Thu Feb 12 2009 - 00:38:20 EST

  • Next message: Robert Zeigler: "Re: Apostrophe escaping in select"

    Robert Zeigler wrote:
    >
    > SelectQuery q = new SelectQuery(Person.class);
    >
    > Expression qual =
    > ExpressionFactory.matchExp(Person.COUNTRY_PROPERTY,country);
    > qual = qual.andExp(ExpressionFactory.matchExp(Person.NAME_PROPERTY,name);
    >
    > q.setQualifier(qual);
    > dataContext().performQuery(qual);
    >
    Thanks Robert this works well for me (FTR needed to use the query ('q')
    not the qual in the last line).

    Mark



    This archive was generated by hypermail 2.0.0 : Thu Feb 12 2009 - 00:38:58 EST