Return-Path: X-Original-To: apmail-openjpa-dev-archive@www.apache.org Delivered-To: apmail-openjpa-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 16521112F4 for ; Mon, 14 Jul 2014 01:14:05 +0000 (UTC) Received: (qmail 50297 invoked by uid 500); 14 Jul 2014 01:14:04 -0000 Delivered-To: apmail-openjpa-dev-archive@openjpa.apache.org Received: (qmail 50234 invoked by uid 500); 14 Jul 2014 01:14:04 -0000 Mailing-List: contact dev-help@openjpa.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@openjpa.apache.org Delivered-To: mailing list dev@openjpa.apache.org Received: (qmail 49862 invoked by uid 99); 14 Jul 2014 01:14:04 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Jul 2014 01:14:04 +0000 Date: Mon, 14 Jul 2014 01:14:04 +0000 (UTC) From: "Rick Curtis (JIRA)" To: dev@openjpa.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (OPENJPA-2516) ConnectionProperties not being honor in Driver connect invocation MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/OPENJPA-2516?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rick Curtis updated OPENJPA-2516: --------------------------------- Fix Version/s: 2.4.0 > 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 > Fix For: 2.4.0 > > 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)