mirror of
https://github.com/CodePhiliaX/Chat2DB.git
synced 2025-07-31 19:52:54 +08:00
Add operation log
This commit is contained in:
@ -67,7 +67,7 @@ public class DefaultDBManage implements DBManage {
|
||||
}
|
||||
connectInfo.setSession(session);
|
||||
connectInfo.setConnection(connection);
|
||||
if (StringUtils.isNotBlank(connectInfo.getDatabaseName())) {
|
||||
if (StringUtils.isNotBlank(connectInfo.getDatabaseName()) || StringUtils.isNotBlank(connectInfo.getSchemaName())) {
|
||||
connectDatabase(connection, connectInfo.getDatabaseName());
|
||||
}
|
||||
return connection;
|
||||
|
Reference in New Issue
Block a user