|
@@ -771,7 +771,7 @@ public class TableInfoServiceImpl implements ITableInfoService {
|
|
|
}
|
|
|
reader.close();
|
|
|
if (dataSource.getDatabaseType().equals("dm")) {
|
|
|
- foundationSt.execute("set schema " + dataSource.getDatabaseName() + ";");
|
|
|
+ foundationSt.executeUpdate("set schema " + dataSource.getDatabaseName() + ";");
|
|
|
}
|
|
|
if (dataSource.getDatabaseType().equals("sqlserver")) {
|
|
|
foundationSt.executeUpdate("USE " + dataSource.getDatabaseName() + ";");
|