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

jberet-sql.properties is sometimes loaded twice by JdbcRepository class

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 1.3.0.Beta5
    • 1.2.2.Final, 1.3.0.Beta4
    • jberet-core
    • None

      In JdbcRepository, jberet-sql.properties is loaded twice:

      org.jberet.repository.JdbcRepository#JdbcRepository(javax.sql.DataSource, java.util.Properties)
      org.jberet.repository.JdbcRepository#createTables

      At runtime, when a JdbcRepository is created with DataSource, this resource is loaded twice, with the 2nd one overwriting the content from the 1st one.

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

                Created:
                Updated:
                Resolved: