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

Make createConnectionFactory() in JDBCConfigurationImpl public

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 2.0.0
    • Fix Version/s: 2.0.0-beta3
    • Component/s: None
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: