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.

Reply via email to