Eric
Results
1
issues of
Eric
因为业务需要,会基于参数变更connection的catalog。 默认不设置catalog,连接如下: 127.0.0.1:3306/?useUnicode=true&useSSL=false 在设置catalog后,beecp执行完SQL,关闭connection时,通过recycleSelf调用resetRawConn按照defCatalog进行复位。上述情况,在复位时,会抛出异常:java.sql.SQLException: Database can not be null 产生如下问题: 1、出于什么考虑,再会connection关闭后进行复位? 2、是否可以关闭该复位?