- MetaMatrix Enterprise Server 5.5.4
- We are not properly translating criteria in update/delete procedures. Instead, we are passing a Virtual Element name all the way down to the source system, without translating it to the actual NameInSource. This results in a bogus statement sent to the source system, and produces an error.
The default TRANSLATE CRITERIA feature will only work against a single table. Since the query is against a virtual table whose transformation contains joins, a union, etc., MetaMatrix cannot resolve how to map the columns.
Fortunately TRANSLATE CRITERIA has a couple of keywords that will allow you to be more specific. They are ON and WITH.  WITH allows you to specify a column by column mapping .
 ftp://partners.redhat.com/metamatrix/JBEDSP_mmx554_3263/docs/developers/QuerySupportHandbook.pdf (Section 188.8.131.52 TRANSLATE CRITERIA)
 The is a bug with using the ON and WITH keywords that has been resolved with the latest server and designer patches for MetaMatrix version 5.5.4
You can download the latest server patch from http://ftp.redhat.com/pub/redhat/metamatrix/server_patch554
You can download the latest Enterprise Designer patch from: http://ftp.redhat.com/pub/redhat/metamatrix/designer_patch554
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.