lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Eldredge (JIRA)" <j...@apache.org>
Subject [jira] Updated: (SOLR-1244) JdbcDataSource uses wrong overload of getConnection on JNDI DataSource
Date Wed, 24 Jun 2009 23:10:11 GMT

     [ https://issues.apache.org/jira/browse/SOLR-1244?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Chris Eldredge updated SOLR-1244:
---------------------------------

    Attachment: SOLR-1244.patch

Patch against r788203 including unit tests.

> JdbcDataSource uses wrong overload of getConnection on JNDI DataSource
> ----------------------------------------------------------------------
>
>                 Key: SOLR-1244
>                 URL: https://issues.apache.org/jira/browse/SOLR-1244
>             Project: Solr
>          Issue Type: Bug
>          Components: contrib - DataImportHandler
>    Affects Versions: 1.4
>         Environment: Any.
>            Reporter: Chris Eldredge
>         Attachments: SOLR-1244.patch
>
>
> When configured to use a JDBC DataSource via JNDI, JdbcDataSource checks to see if initProps
contains a property named "user."  If that property is null, DataSource.getConnection(String
user, String password) is used where DataSource.getConnection() should be called.  I will
provide a test case and patch that fixes the issue.

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


Mime
View raw message