You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Guillaume Husta (JIRA)" <ji...@apache.org> on 2017/09/04 13:28:02 UTC
[jira] [Created] (DBCP-479) Support default schema in configuration
Guillaume Husta created DBCP-479:
------------------------------------
Summary: 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: 2.1.1, 1.5.1
Reporter: Guillaume Husta
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
(v6.4.14#64029)