Re: Stack overflow with Derby adapter

From: Aristedes Maniatis (ar..sh.com.au)
Date: Fri Sep 12 2008 - 04:37:50 EDT

  • Next message: Øyvind Harboe: "Re: Stack overflow with Derby adapter"

    On 12/09/2008, at 5:50 PM, Øyvind Harboe wrote:

    > I've got an obscure bug in our app that is caused by a stack
    > overflow with Derby.
    >
    > The problem is that 'OR' is implemented recursively inside Derby, so
    > when using ExpressionFactoyr.inExp() w/a *long* list, the stack
    > overflows.
    >
    >
    > Can this be worked around in the Cayenne Derby adapter?

    I think you may already have reported this one:

    https://issues.apache.org/cayenne/browse/CAY-1079

    If you are able to determine the Derby maximum value, we should give
    Cayenne some cleverer defaults. I looked through their docs for this a
    while ago but never found anything.

    Ari

    -------------------------->
    ish
    http://www.ish.com.au
    Level 1, 30 Wilson Street Newtown 2042 Australia
    phone +61 2 9550 5001 fax +61 2 9550 4001
    GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A



    This archive was generated by hypermail 2.0.0 : Fri Sep 12 2008 - 04:38:34 EDT