Changes between Version 2 and Version 3 of Ticket #114
- Timestamp:
- 09/18/2012 05:48:53 PM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #114 – Description
v2 v3 5 5 presta = con.prepareStatement(getSelectCProductSql(TYPE_ALL)); 6 6 res = presta.executeQuery(); 7 while (res.next()) { 8 Document document; 9 try { 10 //获取字段值 11 smalltypeId = res.getInt("smalltype_id"); 12 price = res.getDouble("price"); 13 onlineFlag = res.getInt("online_flag"); 14 productName = getNoNullStr(res.getString("product_name")); 15 ... 16 } catch(Exception e) { 17 continue; 18 }finally{ 19 document = null; 20 } 21 } 7 22 }}} 8 23
![(please configure the [header_logo] section in trac.ini)](http://www1.pconline.com.cn/global/2008/images/jss/m_logo091125.jpg)