Uploaded image for project: 'OpenJPA'
  1. OpenJPA
  2. OPENJPA-1568

Make createConnectionFactory() in JDBCConfigurationImpl public

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 2.0.0
    • 2.0.0-beta3
    • None
    • None

    Description

      In process of configuring plugins in JDBCConfiguration, a javax.sql.DataSource is examined for the custom properties defined on the data source.
      public DataSource getDataSource() has undesired side effects that instantiates DBDictionary.

      DecoratingDataSource createConnectionFactory() does not have the side effects.
      This private method is changed to public to be visible to the extended JDBCConfigurationImpl.

      Attachments

        Activity

          People

            fancy Catalina Wei
            fancy Catalina Wei
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: