1. 系统登录报错: connection holder is null
psts.setInt(1, 111);
try(ResultSet resultSet = psts.executeQuery()){
if(resultSet.next()){
}
}
}
try(Connection connection= getConnection()){
psts.setInt(1, 111);
try(ResultSet resultSet = psts.executeQuery()){
if(resultSet.next()){
}
}
}
}
数据源切换到C3P0
Connection PreparedStatement ResultSet 加try
16万+

被折叠的 条评论
为什么被折叠?



