(Almost) SOLVED Re: Parametric queries stored in DataMap

From: Giulio Cesare Solaroli (giulio.cesar..mail.com)
Date: Fri Nov 12 2004 - 09:24:00 EST

  • Next message: Williams, Beth: "Running a packaged Stored Procedure"

    I found my own fault. I was using "AND" instead of "and".

    Sorry for bothering you all.

    Now the query looks right, but I have a java.lang.ClassCastException.

    Digging it up further. ;-]

    Giulio Cesare Solaroli

    On Fri, 12 Nov 2004 14:54:00 +0100, Giulio Cesare Solaroli
    <giulio.cesar..mail.com> wrote:
    > Hi all,
    >
    > I am trying to use queries stored in DataMap, but I am finding some problems.
    >
    > First this an annoyance: if I want to check for a boolean attribute
    > value of the class, I need to use a number (like published = 1)
    > instead of published = java.lang.Boolean.TRUE.
    >
    > Second, how can I join two condition? Something like
    > published = 1 AND extrapola = $extrapola
    >
    > I have tried to look for some documentation, but I have not been able
    > to find any.
    >
    > Thanks in advance for your attention.
    >
    > Regards,
    >
    > Giulio Cesare Solaroli
    >



    This archive was generated by hypermail 2.0.0 : Fri Nov 12 2004 - 09:24:03 EST