Jump to content
  • New tables are not displayed in Virtual Data Sources after they are added


    Friendly User
    • Features: Data Sources Product: JasperReports® Server

    Scenario:

    You have a virtual data source that has new tables introduced on the fly but these tables do not get detected by the engine as they are added. What can be done about this?


    Solution:

    You will need to clean the Virtual Data Source cache on the server for the changes to data source to be reflected. To do that, issue the following REST request:

    DELETE http://<host>:<port>/jasperserver-pro/rest_v2/caches/vds/
    

    This should clean up all your caches and your changes should now be reflected. You can have a script that issues this call after the changes to the database.


    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...