openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Albert Lee (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (OPENJPA-2516) ConnectionProperties not being honor in Driver connect invocation
Date Sun, 13 Jul 2014 19:11:04 GMT

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

Albert Lee updated OPENJPA-2516:
--------------------------------

    Attachment: OPENJPA-2516.patch

> 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
>         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