You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Gary Gregory (JIRA)" <ji...@apache.org> on 2018/06/18 22:17:00 UTC
[jira] [Closed] (DBCP-479) Support default schema in configuration
[ https://issues.apache.org/jira/browse/DBCP-479?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gary Gregory closed DBCP-479.
-----------------------------
Resolution: Fixed
Fix Version/s: 2.5.0
In git master.
> Support default schema in configuration
> ---------------------------------------
>
> Key: DBCP-479
> URL: https://issues.apache.org/jira/browse/DBCP-479
> Project: Commons DBCP
> Issue Type: Improvement
> Affects Versions: 1.5.1, 2.1.1
> Reporter: Guillaume Husta
> Priority: Major
> Fix For: 2.5.0
>
>
> There is an option to select a default _catalog_ in configuration, but none for selecting a default _schema_.
> Could it be possible ?
> I think it would make sense as [java.sql.Connection#setSchema()|http://docs.oracle.com/javase/7/docs/api/java/sql/Connection.html#setSchema(java.lang.String)] was added in Java 7 (JDBC 4.1).
> Commons DBCP 1.5 and 2.x both targets Java 7.
> FYI a similar enhancement has been done in HikariCP [#941|https://github.com/brettwooldridge/HikariCP/issues/941].
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)