Jump to content

andreaussi

Members
  • Posts

    1
  • Joined

  • Last visited

 Content Type 

Forum

Downloads

Featured Visualizations

Knowledge Base

Documentation (PDF Downloads)

Blog

Documentation (Test Area)

Documentation

Dr. Jaspersoft Webinar Series

Security Advisories

Events

Profiles

Posts posted by andreaussi

  1. 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): 3

    3 is a correct value!!!

    Why parameter doesn't "pass" to sql?

×
×
  • Create New...