【问题标题】:SQLException: [Vertica][VJDBC](100161) The connection is closedSQLException: [Vertica][VJDBC](100161) 连接已关闭
【发布时间】:2015-06-25 06:16:13
【问题描述】:

我使用 grails、vertica、tomcat。一切正常,直到应用程序开始后大约一天。我得到例外。

java.sql.SQLException: [Vertica][VJDBC](100161) The connection is closed.

[Vertica][JDBC](10040) Cannot use commit while Connection is in auto-commit mode.

【问题讨论】:

  • 你能从不同的应用程序连接吗?

标签: java grails jdbc vertica


【解决方案1】:

我自己解决。这是由 grails 的连接池引起的。我在外部 java 属性文件中设置了 pooled=false 。但这行不通。我必须使用 groovyslurper 配置。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2017-04-18
    • 2014-05-04
    • 1970-01-01
    • 1970-01-01
    • 2016-07-18
    • 2013-10-17
    • 2013-05-31
    相关资源
    最近更新 更多