摘要:
记录Druid 连接池简单用法 package Utils; import com.alibaba.druid.pool.DruidDataSourceFactory; import javax.sql.DataSource; import java.io.InputStream; import j 阅读全文
posted @ 2019-05-15 16:23
丁昆
阅读(161)
评论(0)
推荐(0)
摘要:
preparedstatement和statement的区别 当不需要预编译时(不需要占位符)可以选用statement,存在不安全 当有占位符(?)时,需要选用preparedstatement select 查询语句,选用executeQuery()方法 执行后返回代表查询结果的ResultSe 阅读全文
posted @ 2019-05-15 16:00
丁昆
阅读(251)
评论(0)
推荐(0)
浙公网安备 33010602011771号