You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Knut Anders Hatlen (JIRA)" <ji...@apache.org> on 2010/11/05 11:13:42 UTC
[jira] Updated: (DERBY-4886) Client and embedded don't agree on
connection attributes in DatabaseMetaData.getURL()
[ https://issues.apache.org/jira/browse/DERBY-4886?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Knut Anders Hatlen updated DERBY-4886:
--------------------------------------
Attachment: GetURL.java
> Client and embedded don't agree on connection attributes in DatabaseMetaData.getURL()
> -------------------------------------------------------------------------------------
>
> Key: DERBY-4886
> URL: https://issues.apache.org/jira/browse/DERBY-4886
> Project: Derby
> Issue Type: Bug
> Components: JDBC
> Affects Versions: 10.7.1.0
> Reporter: Knut Anders Hatlen
> Priority: Minor
> Attachments: GetURL.java
>
>
> The embedded driver strips away all connection attributes before returning the URL from DatabaseMetaData.getURL(). The client driver also returns the connection attributes (except user and password, see DERBY-559).
> The attached repro (GetURL.java) demonstrates this behaviour (note that it uses both connection attributes directly in the URL and connection attributes in a java.util.Properties object):
> Connecting with URL jdbc:derby:wombat;create=true and properties {territory=no_NO}
> getURL() => jdbc:derby:wombat
> Connecting with URL jdbc:derby://localhost/wombat;create=true and properties {territory=no_NO}
> getURL() => jdbc:derby://localhost:1527/wombat;create=true;territory=no_NO
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.