You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Artem Shnayder (JIRA)" <ji...@apache.org> on 2011/05/26 21:24:48 UTC

[jira] [Commented] (DBCP-348) connectionInitSqls doesn't work correctly.

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

Artem Shnayder commented on DBCP-348:
-------------------------------------

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