Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
3.0
-
None
Description
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.