Support for creating database and schema

This commit is contained in:
SwallowGG
2023-10-24 23:13:18 +08:00
parent a68ea74783
commit 300ec51b5a
5 changed files with 38 additions and 12 deletions

View File

@ -11,7 +11,7 @@ public class SqlServerDBManage extends DefaultDBManage implements DBManage {
@Override
public void connectDatabase(Connection connection, String database) {
try {
SQLExecutor.getInstance().execute(connection,"use [" + database + "];");
SQLExecutor.getInstance().execute(connection, "use [" + database + "];");
} catch (SQLException e) {
throw new RuntimeException(e);
}