Query before parameter passed by php in Developers and API Posted June 28, 2018 I'm tryng to pass a parameter from php!This is php code:$controls = array( 'CATEGORIA' => array($idcategoria));$report = $c->reportService()->runReport('/reports/interactive/Report', 'html', null, null,$controls);[/code]This is query:select * from xxx where x=${CATEGORIA}This is error log:SQL query string: SELECT x,y,z from xxx WHERE x=?DEBUG JRJdbcQueryExecuter,pool-5-thread-66:569 - Parameter #1 (CATEGORIA of type java.lang.String): 33 is a correct value!!!Why parameter doesn't "pass" to sql?
Query before parameter passed by php
in Developers and API
Posted
I'm tryng to pass a parameter from php!
This is php code:
This is query:
select * from xxx where x=${CATEGORIA}
This is error log:
SQL query string: SELECT x,y,z from xxx WHERE x=?
DEBUG JRJdbcQueryExecuter,pool-5-thread-66:569 - Parameter #1 (CATEGORIA of type java.lang.String): 3
3 is a correct value!!!
Why parameter doesn't "pass" to sql?