Hello, I just noticed this behaviour.
I've got an operationBinding of type fetch, which does not define SQL templating, but that is there only to define the attribute 'outputs', ie:
If it's called with a criteria which contains a field which actually is defined with tableName, ie:
then the criteria for this field is actually used in the where clause (leading to an error, of course).
Is this expected? I mean the fact that the presence of the field in the criteria is sufficient to include the field in the where clause even if there's no SQL templating involved.
I've got an operationBinding of type fetch, which does not define SQL templating, but that is there only to define the attribute 'outputs', ie:
Code:
<operationBinding operationType="fetch" operationId="accWebFetchLockAccrediti" outputs="ID_REC,ID_FILE_SETTORI_FK,NUMERO_POSTO,LOCK_ACCREDITI, ID_POSTO_ACCOMPAGNATORE_FK"> </operationBinding>
Code:
<field foreignKey="JPC_LISTINI.ID_REC" name="ID_LISTINI_FK" type="integer" tableName="JPC_SETTORI"></field>
Is this expected? I mean the fact that the presence of the field in the criteria is sufficient to include the field in the where clause even if there's no SQL templating involved.
Comment