Re: NamedQuery / SQLTemplate keyPath validation

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Tue Jun 10 2008 - 04:15:43 EDT

  • Next message: Lachlan Deck: "Re: NamedQuery / SQLTemplate keyPath validation"

    IIRC no... But I think we should.

    Andrus

    On Jun 10, 2008, at 11:09 AM, Lachlan Deck wrote:

    > On 10/06/2008, at 6:02 PM, Andrus Adamchik wrote:
    >
    >> Unlike SQLTemplate, EJBQL operates in object terms, abstracted from
    >> SQL (this is why I said earlier that it is similar to SelectQuery).
    >> So it is free from the constraints that I mentioned and you can do
    >> something like this:
    >>
    >> String ejbql = "SELECT count(a) FROM Artist a WHERE " +
    >> expression.toEJBQLString("a");
    >
    > One more clarification...
    >
    > I assume restricting qualifiers are not auto-applied?
    >
    > Thanks again
    >
    > with regards,
    > --
    >
    > Lachlan Deck
    >



    This archive was generated by hypermail 2.0.0 : Tue Jun 10 2008 - 04:16:14 EDT