You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cayenne.apache.org by "Andrus Adamchik (JIRA)" <de...@cayenne.apache.org> on 2007/06/13 14:11:28 UTC
[JIRA] Created: (CAY-805) SQLTemplate improvement: new
#bindColumnsEqual #bindColumnsNotEqual directives
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.