hi, am facing some difficulties using the sql components to consume data
from a server which is not PosgtreSQL, but (attempts) to implement it's
i am facing one of two issues, each with a contradicting solution to the
on the one hand, the protocol implementation doesn't support parameters
count inference through the JDBC Api - so, as described in
the documentation , this is what "parametersCount" is for.
one the other hand, the protocol also doesn't implement passing parameters,
the query is parameter-less. It try to set parametersCount to 0 but it then
invokes the previous issue because (as stated in the docs) of the check
any way to bypass this (tricks are welcome)? i have tried -
- setting parametersCount to 1 for example, and i get an error (obvious) of
a mismatch in parameters counts .
- setting parametersCount with value in "CamelSqlParameters" in header, but
another assertion fails...
- searching, and without a find if i can provide my own implementation
overriding the checks