openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (OPENJPA-2516) ConnectionProperties not being honor in Driver connect invocation
Date Sun, 13 Jul 2014 22:39:05 GMT

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

ASF subversion and git services commented on OPENJPA-2516:
----------------------------------------------------------

Commit 1610313 from [~allee8285] in branch 'openjpa/trunk'
[ https://svn.apache.org/r1610313 ]

OPENJPA-2516 - Aggregate connection property for Driver.connect

> ConnectionProperties not being honor in Driver connect invocation
> -----------------------------------------------------------------
>
>                 Key: OPENJPA-2516
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-2516
>             Project: OpenJPA
>          Issue Type: Bug
>          Components: jdbc
>    Affects Versions: 2.2.1.1, 2.2.3, 2.3.1, 2.5.0
>            Reporter: Albert Lee
>            Assignee: Albert Lee
>         Attachments: OPENJPA-2516.patch
>
>
> Per manual:
>  openjpa.ConnectionProperties: If the listed driver is an instance of java.sql.Driver,
this string will be parsed into a Properties instance, which will then be used to obtain database
connections through the Driver.connect(String url, Properties props) method. If, on the other
hand, the listed driver is a javax.sql.DataSource, the string will be treated as a plugin
properties string, and matched to the bean setter methods of the DataSource instance. 
> However setting property
> openjpa.ConnectionProperties=sslConnection=true,sslTrustStoreLocation=C:\db_certs,sslTrustStorePassword=password
> is not being used during driver.connect() and failed due to connection refusal.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message