[
https://issues.apache.org/jira/browse/OPENJPA-2516?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16050814#comment-16050814
]
Jody Grassel commented on OPENJPA-2516:
---------------------------------------
Looks good to me for a backport to 2.2.x.
> 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.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)