commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Artem Shnayder (JIRA)" <j...@apache.org>
Subject [jira] [Issue Comment Edited] (DBCP-348) connectionInitSqls doesn't work correctly.
Date Thu, 26 May 2011 19:26:48 GMT

    [ https://issues.apache.org/jira/browse/DBCP-348?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13039874#comment-13039874
] 

Artem Shnayder edited comment on DBCP-348 at 5/26/11 7:25 PM:
--------------------------------------------------------------

Just ran into this issue as well. Something else I've noticed is that although BasicDataSource
expects a List of Strings, BasicDataSourceFactory expects a String with semi-colon delimiters.
That difference should be documented or fixed as well.

      was (Author: shndr):
    Just ran into this issue as well. Something else I've noticed is that although BasicDataSource
expects a List of Strings, BasicDataSourceFactory expects a String with semi-colon delimeters.
That difference should be documented or fixed as well.
  
> connectionInitSqls doesn't work correctly. 
> -------------------------------------------
>
>                 Key: DBCP-348
>                 URL: https://issues.apache.org/jira/browse/DBCP-348
>             Project: Commons Dbcp
>          Issue Type: Bug
>    Affects Versions: 1.3, 1.4
>         Environment: CentOS 5.4
> JDK 6u21
>            Reporter: Eiji Takahashi
>            Priority: Minor
>             Fix For: 1.3.1, 1.4.1
>
>         Attachments: connectionInitSqls.patch
>
>
> The parameter name is different between the source code and the online document.
> Souce code(BasicDataSourceFactory.java):
>    private final static String PROP_INITCONNECTIONSQLS = "initConnectionSqls";
> Online document(http://commons.apache.org/dbcp/configuration.html):
>    Parameter name: connectionInitSqls

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message