jdbcTemplate与simjdbcTemplate区别
jdbcTemplate可以根据sql执行结果强制将结果转化为对应类型如:
String sql =
"select COUNT(1) from Device d with (NOLOCK) ,DeviceType dt with (NOLOCK) where d.deviceTypeID=dt.deviceTypeID and d.gcID=? and dt.systemID=? ";
原创
2018-01-31 16:32:31 ·
221 阅读 ·
0 评论