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

        Catalina Wei created issue -
        Catalina Wei made changes -
        Field Original Value New Value
        Assignee Catalina Wei [ fancy ]
        Catalina Wei made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 2.0.0 [ 12314019 ]
        Resolution Fixed [ 1 ]
        Donald Woods made changes -
        Fix Version/s 2.0.0-beta3 [ 12314857 ]
        Fix Version/s 2.0.0 [ 12314019 ]
        Donald Woods made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        3d 11h 50m 1 Catalina Wei 16/Mar/10 06:34
        Resolved Resolved Closed Closed
        13d 16h 42m 1 Donald Woods 30/Mar/10 00:17

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development