你首先精确定位下 耗时发生再哪个地方吧~然后再去发现问题 ps:String sql="select line_no From lis_line_subscription where cust_cd='"+custno+"'";
try {
long tb=System.currentTimeMillis();
PreparedStatement smt=con.prepareStatement(sql); 用了preparedstatement为什么不用上呢? 呵呵
try {
long tb=System.currentTimeMillis();
PreparedStatement smt=con.prepareStatement(sql); 用了preparedstatement为什么不用上呢? 呵呵
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货