Data Store

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2010年1月6日

摘要: try { ... connection con.setAutoCommit(false); PreparedStatement prepStmt = con.prepareStatement( "UPDATE DEPT SET MGRNO=? WHERE DEPTNO=?"); prepStmt.setString(1,mgrnum1); prepStmt.setString(2,deptn... 阅读全文
posted @ 2010-01-06 09:07 standlove 阅读(790) 评论(0) 推荐(0)

2010年1月4日

摘要: // first you need to configure the log4j// the following step should be done only once for the whole applicationString log4jPropertyFile = "log4j.properties";PropertyConfigurator.configure(log4jProper... 阅读全文
posted @ 2010-01-04 09:44 standlove 阅读(170) 评论(0) 推荐(0)

2010年1月3日

摘要: import com.topcoder.util.scheduler.scheduling.Job;import com.topcoder.util.scheduler.scheduling.ScheduledJobRunner;import com.topcoder.util.scheduler.scheduling.ScheduledEnable;import com.topcoder.uti... 阅读全文
posted @ 2010-01-03 23:38 standlove 阅读(212) 评论(0) 推荐(0)

摘要: private String smtpHost; private String smtpUserName; private String smtpPassword; public void sendEmail(String fromAddress, List<String> toAddresses, List<String> ccAddresses, String subj... 阅读全文
posted @ 2010-01-03 16:43 standlove 阅读(256) 评论(0) 推荐(0)