Uploaded image for project: 'BxMS Documentation'
  1. BxMS Documentation
  2. BXMSDOC-2811

Document new kie-server persistence feature

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Major Major
    • None
    • 7.0
    • KIE Server
    • 2021 Week 10-12 (from Mar 8), 2021 Week 16-18 (from Apr 19), 2021 Week 19-21 (from May 10), 2021 Week 22-24 (from May 31)
    • 3

      This commit
      https://github.com/kiegroup/droolsjbpm-integration/commit/cf08c33f8136d3899d0d4ce02d32b35c97218d59

      introduced new feature.

      It is now possible configure kie-server persistence with finer detail, by passing hibernate/jpa parameters as system properties.

      kie-server will take properties with following prefix into consideration:

      • javax.persistence
      • hibernate

      This allows you to override default persistence.xml settings of kie-server in very elegant way.

      Here is an example of valid config for JBoss:

      <system-properties>
          ...
              <property name="hibernate.hbm2ddl.auto" value="create-drop"/>
          ...
      <system-properties>
      
      

      This means that after every restart, kie-server's database will be dropped (losing all the data) and created again empty (this is suitable for early dev)

      Doc preview: RHPAM-I. Managing and monitoring KIE Server

      View changes: Pull request

      Doc impact: Please check 18.1. Configuring KIE Server Persistence from RHPAM doc.

              kaldesai Kalyani Desai
              rhn-support-agiertli Anton Giertli
              Alessandro Lazarotti, Anton Giertli, Enrique Gonzalez Martinez (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: