2014年4月16日

java.util.Timer

摘要: 1 import java.awt.Toolkit; 2 import java.util.Date; 3 import java.util.Timer; 4 import java.util.TimerTask; 5 6 /** 7 *@date 2014-4-15 8 */ 9 publ... 阅读全文

posted @ 2014-04-16 00:04 confirmBname 阅读(151) 评论(0) 推荐(0) 编辑

2014年4月13日

Spring+SpringMVC+Log4J

摘要: web.xml: contextConfigLocation /WEB-INF/classes/applicationContext.xml log4jConfigLocation /WEB-INF/props/log4... 阅读全文

posted @ 2014-04-13 23:13 confirmBname 阅读(1742) 评论(1) 推荐(0) 编辑

2014年4月12日

myeclipse中定制类的注释模板

摘要: windows->preferences->java->code style->code templates->comments->types->edit->apply->ok 阅读全文

posted @ 2014-04-12 07:16 confirmBname 阅读(119) 评论(0) 推荐(0) 编辑

2014年4月9日

最简单的springmvc

摘要: web.xml: 1 2 7 8 9 contextConfigLocation10 classpath:applicationContext.xml11 12 13 14 15 org.springframework.web.context.ContextLoaderListener16 17 18 19 20 springmvc21 org.springframework.web.servlet.DispatcherServlet22 123 ... 阅读全文

posted @ 2014-04-09 17:00 confirmBname 阅读(159) 评论(0) 推荐(0) 编辑

2014年4月7日

oracle中的时间处理

摘要: sysdate: 精确到秒systimestamp: 精确到毫秒如何将日期转字符:to_char(sysdate,'YYYY-MM-DD HH24:MI:SS')如何将字符转日期:to_date('2010-02-24 15:01:54','YYYY-MM-DD HH24:MI:SS')to_timestamp('1999-12-01 11:00:00.123456','YYYY-MM-DD HH:MI:SS.FF6')http://www.cnblogs.com/linximf/archive/2011/11/2 阅读全文

posted @ 2014-04-07 05:45 confirmBname 阅读(136) 评论(0) 推荐(0) 编辑

oracle中的数据类型

摘要: 数值型: number字符型:char,varchar2日期型:date(可以保存日期和时间),timestamp(还能保存小数秒) 阅读全文

posted @ 2014-04-07 05:43 confirmBname 阅读(180) 评论(0) 推荐(0) 编辑

oracle学习表之sqlserver版

摘要: 1 --建表 2 create table emp( 3 empno int primary key, 4 ename varchar(15) not null, 5 job varchar(20) not null, 6 mgr int, 7 hiredate date, 8 sal int, 9 comm int,10 deptno int);11 alter table emp add constraint emp_deptno_fk foreign key(deptno) references dept(deptno);... 阅读全文

posted @ 2014-04-07 03:20 confirmBname 阅读(145) 评论(0) 推荐(0) 编辑

sqlserver2008的系统数据库

摘要: 阅读全文

posted @ 2014-04-07 01:13 confirmBname 阅读(92) 评论(0) 推荐(0) 编辑

2014年4月6日

oracle操作数据表

摘要: 显示当前数据库下所有表名:select table_name from user_tables;显示当前数据库下一共有多少张表:select count(*) from user_tables; 阅读全文

posted @ 2014-04-06 04:45 confirmBname 阅读(106) 评论(0) 推荐(0) 编辑

导航