Albert Lee created OPENJPA-2516:
-----------------------------------

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


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)

Reply via email to