andreaussi Posted June 28, 2018 Share 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? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now