<cfquery dbtype="query" name="LOCAL.modello">
SELECT
*
FROM
modelliDelMarchio
WHERE
marchioid = #ARGUMENTS.marchioid#
AND tipologia = #ARGUMENTS.tipo#
AND nome = '#ARGUMENTS.nome#'
</cfquery>
I have an error on the last query line.
It's:
Query Of Queries runtime error. Comparison exception while executing =. Unsupported Type Comparison Exception: The = operator does not support comparison between the following types: Left hand side expression type = "STRING". Right hand side expression type = "LONG".
I swear that:
- ARGUMENTS.nome IS a string (I tried with javacast, too!)
- modelliDelMarchio is a valid DB query, containing real data. "nome" is a varchar.
My version is 9.0.1.