Jump to content
We've recently updated our Privacy Statement, available here ×
  • Get error using a calculated field from Oracle user defined function


    Jim W
    • Version: v5.2, v5.1, v5.0, v4.8, v4.7 Product: JasperReports® Server

    Issue Description:

    When using an Oracle user defined function in a calculated field, you are getting the following exception.

    java.sql.SQLSyntaxErrorException: ORA-00904: "myUDF": invalid identifier
    


    Resolution:

    In applicationContext-semanticLayer.xml file under "oracleSQLGenerator" bean section, add:

    <entry key="myUDF">
        <value>"myUDF(" + sqlArgs[0] + ")" </value>
    </entry>
    

    Ref. Case #00037391


    User Feedback

    Recommended Comments

    There are no comments to display.



    Guest
    This is now closed for further comments

×
×
  • Create New...