| | |
| | | "neware76", "{\"control\":false}", "{\"database\":\"bts63\",\"user\":\"visitor\"}"); |
| | | assertEquals(1, jdbc.queryForObject( |
| | | "select count(*) from t_device_adapter where source_config is not null", Integer.class)); |
| | | // 代码装配实例(例如开发模拟器)保持为空。 |
| | | jdbc.update("insert into t_device_adapter(adapter_code, capabilities) values(?,?)", "dev-sim", |
| | | // 没有来源形态配置的行(列可空)仍允许存在。 |
| | | jdbc.update("insert into t_device_adapter(adapter_code, capabilities) values(?,?)", "legacy-row", |
| | | "{\"control\":false}"); |
| | | assertEquals(1, jdbc.queryForObject( |
| | | "select count(*) from t_device_adapter where source_config is null", Integer.class)); |