You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by "Catalina Wei (JIRA)" <ji...@apache.org> on 2010/03/12 19:46:27 UTC

[jira] Created: (OPENJPA-1568) Make createConnectionFactory() in JDBCConfigurationImpl public

Make createConnectionFactory() in JDBCConfigurationImpl public
--------------------------------------------------------------

                 Key: OPENJPA-1568
                 URL: https://issues.apache.org/jira/browse/OPENJPA-1568
             Project: OpenJPA
          Issue Type: Bug
    Affects Versions: 2.0.0
            Reporter: Catalina Wei
            Priority: Trivial


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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (OPENJPA-1568) Make createConnectionFactory() in JDBCConfigurationImpl public

Posted by "Catalina Wei (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OPENJPA-1568?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Catalina Wei resolved OPENJPA-1568.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 2.0.0

> Make createConnectionFactory() in JDBCConfigurationImpl public
> --------------------------------------------------------------
>
>                 Key: OPENJPA-1568
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-1568
>             Project: OpenJPA
>          Issue Type: Bug
>    Affects Versions: 2.0.0
>            Reporter: Catalina Wei
>            Assignee: Catalina Wei
>            Priority: Trivial
>             Fix For: 2.0.0
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (OPENJPA-1568) Make createConnectionFactory() in JDBCConfigurationImpl public

Posted by "Catalina Wei (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OPENJPA-1568?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Catalina Wei reassigned OPENJPA-1568:
-------------------------------------

    Assignee: Catalina Wei

> Make createConnectionFactory() in JDBCConfigurationImpl public
> --------------------------------------------------------------
>
>                 Key: OPENJPA-1568
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-1568
>             Project: OpenJPA
>          Issue Type: Bug
>    Affects Versions: 2.0.0
>            Reporter: Catalina Wei
>            Assignee: Catalina Wei
>            Priority: Trivial
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.