[jira] Commented: (CAY-1079) Derby adapter uses recursive implementation for orExp()

From: JIRA (Øyvind)
Date: Mon Jun 23 2008 - 07:47:52 EDT

  • Next message: Andrus Adamchik (JIRA): "[jira] Commented: (CAY-1079) Derby adapter uses recursive implementation for orExp()"

        [ https://issues.apache.org/cayenne/browse/CAY-1079?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12974#action_12974 ]

    Øyvind Harboe commented on CAY-1079:
    ------------------------------------

    This is how the derby database is implemented and a fix would belong there. I ran into other problems when trying to run this test with the latest version of Derby, could have been fixed there.

    I don't really view this as a Cayenne bug, though IncrementalFaultList is vulnerable to problems with long select statements and the database adapter doesn't have a way to influence the length of the select statement in the IncrementalFaultList.

    > Derby adapter uses recursive implementation for orExp()
    > -------------------------------------------------------
    >
    > Key: CAY-1079
    > URL: https://issues.apache.org/cayenne/browse/CAY-1079
    > Project: Cayenne
    > Issue Type: Bug
    > Components: Cayenne Core Library
    > Affects Versions: 3.0
    > Reporter: Øyvind Harboe
    > Assignee: Andrus Adamchik
    >
    > I get this exception w/paged queries.
    > I need to make a note of this bug and get back to it.
    > at org.apache.derby.impl.sql.compile.OrNode.bindExpression(Unknown Source)
    > at org.apache.derby.impl.sql.compile.BinaryOperatorNode.bindExpression(Unknown Source)
    > at org.apache.derby.impl.sql.compile.BinaryLogicalOperatorNode.bindExpression(Unknown Source)
    > at org.apache.derby.impl.sql.compile.OrNode.bindExpression(Unknown Source)
    > at org.apache.derby.impl.sql.compile.BinaryOperatorNode.bindExpression(Unknown Source)
    > at org.apache.derby.impl.sql.compile.BinaryLogicalOperatorNode.bindExpression(Unknown Source)
    > at org.apache.derby.impl.sql.compile.OrNode.bindExpression(Unknown Source)
    > at org.apache.derby.impl.sql.compile.BinaryOperatorNode.bindExpression(Unknown Source)
    > at org.apache.derby.impl.sql.compile.BinaryLogicalOperatorNode.bindExpression(Unknown Source)
    > at org.apache.derby.impl.sql.compile.OrNode.bindExpression(Unknown Source)
    > at org.apache.derby.impl.sql.compile.BinaryOperatorNode.bindExpression(Unknown Source)
    > at org.apache.derby.impl.sql.compile.BinaryLogicalOperatorNode.bindExpression(Unknown Source)
    > at org.apache.derby.impl.sql.compile.OrNode.bindExpression(Unknown Source)
    > at org.apache.derby.impl.sql.compile.BinaryOperatorNode.bindExpression(Unknown Source)
    > at org.apache.derby.impl.sql.compile.BinaryLogicalOperatorNode.bindExpression(Unknown Source)
    > at org.apache.derby.impl.sql.compile.OrNode.bindExpression(Unknown Source)
    > at org.apache.derby.impl.sql.compile.BinaryOperatorNode.bindExpression(Unknown Source)
    > at org.apache.derby.impl.sql.compile.BinaryLogicalOperatorNode.bindExpression(Unknown Source)

    -- 
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
    



    This archive was generated by hypermail 2.0.0 : Mon Jun 23 2008 - 07:48:45 EDT