OpenJPA
  1. OpenJPA
  2. OPENJPA-1568

Make createConnectionFactory() in JDBCConfigurationImpl public

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Trivial 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.

        Activity

        There are no comments yet on this issue.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development