Jump to content
We've recently updated our Privacy Statement, available here ×
  • Domain Dealing With jsonb Data Type


    Tom C
    • Features: Domains Version: v7.1 Product: JasperReports Server JSON Data Source

    TIBCO JasperReports® Server provides a JDBC-to-Java type mapping for all standard JDBC column types for use in Domains. For some DB proprietary and not commonly used data types, users will need to map to a Java type with a special configuration in applicationContext-semanticLayer.xml file. Users in such case should reveiw TIBCO JasperReports® Server Guide Release 7.1 document, section 8.8.6 "Enabling Proprietary Types" for more information.

    If wanting to display a jsonb DB field content in JasperReports Server Domain views, users need to add the jsonb data mapping in applicationContext-semanticLayer.xml file and applicationContext-el-operators.xml file to make it available with appropriate java class types.

    An alternate solution is to define a derived table in the Domain and use jsonb_pretty() DB function to get its content into a text string for viewing. In this approach, the user will not need to make configuration changes as described above.

    Additional readings with regarding to custom domain functions:


    TTC-20200223


    User Feedback

    Recommended Comments

    There are no comments to display.



    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 account

    Sign in

    Already have an account? Sign in here.

    Sign In Now

×
×
  • Create New...