[JIRA] Created: (CAY-805) SQLTemplate improvement: new #bindColumnsEqual #bindColumnsNotEqual directives

From: Andrus Adamchik (JIRA) ("Andrus)
Date: Wed Jun 13 2007 - 08:11:28 EDT

  • Next message: Andrus Adamchik: "Re: [JIRA] Commented: (CAY-560) Add support for outer joins"

    SQLTemplate improvement: new #bindColumnsEqual #bindColumnsNotEqual directives

                     Key: CAY-805
                     URL: https://issues.apache.org/cayenne/browse/CAY-805
                 Project: Cayenne
              Issue Type: Improvement
              Components: Cayenne Core Library
        Affects Versions: 3.0
                Reporter: Andrus Adamchik
                Assignee: Andrus Adamchik
                Priority: Minor
                 Fix For: 3.0

    To support matching against ObjectId's or Persistent objects with compound PKs, we need two new directives: #bindColumnsEqual #bindColumnsNotEqual. The syntax would follow that of #bindEqual, with one extra "columns" parameter; and all remaining parameters being arrays or collections:

       #bindColumnsEqual(columns values jdbcTypes precisions)

    The motivation for this addition is actually EJBQL support for similar functionality , but it should be generally useful as well.

    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 : Wed Jun 13 2007 - 08:11:50 EDT