Uploaded image for project: 'JBeret'
  1. JBeret
  2. JBERET-298

Support prefix and/or suffix to jdbc job repository tables

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: Major Major
    • 1.3.0.Beta5
    • 1.3.0.Beta4
    • jberet-core
    • None

      Users should be able to configure a prefix and maybe a suffix to jdbc job repository tables. For example,

      JB_JOB_INSTANCE
      JB_JOB_EXECUTION
      JB_STEP_EXECUTION
      JB_PARTITION_EXECUTION

      User request and discussion:
      http://stackoverflow.com/questions/41143457/add-prefix-to-jsr-352-batch-api-tables/41144546#41144546

      To configure JDBC batch job repository table prefix and/or suffix in Java SE runtime environment, edit the following properties. For example, the following configuration specifies prefix of JB_ and suffix _2:

      db-table-prefix=JB_
      db-table-suffix=_2
      

      The final tables names will be like JB_JOB_INSTANCE_2, etc.

              cfang@redhat.com Cheng Fang
              cfang@redhat.com Cheng Fang
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: