commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guillaume Husta (JIRA)" <j...@apache.org>
Subject [jira] [Created] (DBCP-479) Support default schema in configuration
Date Mon, 04 Sep 2017 13:28:02 GMT
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)

Mime
View raw message