Uploaded image for project: 'Teiid'
  1. Teiid
  2. TEIID-3428

Data is being cleaned out after each server restart

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 8.7.1.6_2, 8.11
    • 8.7.1.6_2
    • Tools
    • None

      In the teiid-extensions logging persistence file, the schema is currently getting recreated after each restart due to being set to:

      <property name="hibernate.hbm2ddl.auto" value="create" />

      so it needs to change to be:

      <property name="hibernate.hbm2ddl.auto" value="update" />

      However, "update" isn't the ideal situation for production systems when DBA's like to restrict access as who can be creating tables. So they want the ddl script to run.

              van.halbert Van Halbert (Inactive)
              van.halbert Van Halbert (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: