Re: EJBQL client-side challenge

From: Lachlan Deck (lachlan.dec..mail.com)
Date: Tue Jan 26 2010 - 10:37:46 EST

  • Next message: Andrus Adamchik: "Re: EJBQL client-side challenge"

    On 27/01/2010, at 2:25 AM, Andrus Adamchik wrote:

    > Actually looks like we can reproduce this problem. EJBQLQuery does query compilation on the client, and that accesses DbRelationships. So this is not related to naming, but rather to the use of joins.
    >
    > A fix can be rather invasive, so how does everybody feel about making EJBQL a server-only feature in 3.0 and doing necessary refactoring in 3.1?

    Does this affect sql templates as well from ROP?

    > Andrus
    >
    > On Jan 26, 2010, at 5:03 PM, Andrus Adamchik wrote:
    >
    >>
    >> On Jan 26, 2010, at 4:50 PM, Lachlan Deck wrote:
    >>
    >>> Strictly speaking, yes. But you could also say that one is a derivative of the other. e.g., upper-casing camel casing and joined via underscore which is a common db mapping (which perhaps cayenne allows for, especially when reverse engineering).
    >>
    >> No, Cayenne doesn't make any such adhoc conversions. So MT_TABLE and MtTable1 are different names, and the framework will not attempt a conversion.
    >>
    >> So do you have a stack trace of the error BTW?
    >>
    >> Andrus
    >>
    >

    with regards,

    --
    

    Lachlan Deck



    This archive was generated by hypermail 2.0.0 : Tue Jan 26 2010 - 10:38:31 EST