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


Reply via email to