Re: SQLTemplate & HSQLDB question

From: Daniel Lorimer (thelorime..mail.com)
Date: Thu Jan 26 2006 - 15:17:36 EST

  • Next message: Andrus Adamchik: "Re: SQLTemplate & HSQLDB question"

    Steve,

    If the only issue is with capatalization, you should be able to just convert
    the call to uppercase before you send the query - with a method of some kind
    that runs when (if database = HSQL).

    Andrus,

    Would it work if in the select string everything was UPPERCASE?

    On 1/25/06, Andrus Adamchik <andru..bjectstyle.org> wrote:
    >
    >
    > On Jan 25, 2006, at 6:16 PM, Andrus Adamchik wrote:
    >
    > > You may have to do some typing here:
    > >
    > > SELECT #result('SPOUSE_FIRST_NAME' String 'spouse_first_name'),
    > > #result(...)
    >
    >
    > BTW, I'd love to improve SQLTemplate usability in this area. Maybe
    > introduce a callback variable that can be set in the template, like
    > #set( $toUpperCase = "true"), so Cayenne can read it and take an
    > appropriate action in the backend?
    >
    > Andrus
    >



    This archive was generated by hypermail 2.0.0 : Thu Jan 26 2006 - 15:17:38 EST