[
https://issues.apache.org/jira/browse/OPENJPA-2516?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16089945#comment-16089945
]
ASF subversion and git services commented on OPENJPA-2516:
----------------------------------------------------------
Commit 1802153 from [~fyrewyld] in branch 'openjpa/branches/2.2.x'
[ https://svn.apache.org/r1802153 ]
OPENJPA-2516: ConnectionProperties not being honor in Driver connect invocation
(commit on wdazeys behalf)
> 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.0, 2.4.1
> Reporter: Albert Lee
> Assignee: Albert Lee
> Attachments: OPENJPA-2516-2.2.x.patch, 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.4.14#64029)