nutzam/nutz — Issue #76: oracle,日期类型的不能显示时间，数据库有时间
Author: cqyunqin
Created: 2011-10-19 09:30:52+00:00
State: open

create table t_pet (
id INT primary key ,
name VARCHAR(20) ,
birthday date
)
dao.insert("t_pet", Chain.make("name","Xiao").add("id", 1).add("birthday", new Timestamp(System.currentTimeMillis())));
dao.insert("t_pet", Chain.make("name","XiaoBai").add("id", 2).add("birthday", new Timestamp(System.currentTimeMillis())));

Record re = dao.fetch("t_pet", Cnd.where("id","=",2));

// 根据名字获取
re = dao.fetch("t_pet", Cnd.where("name","=","XiaoBai"));

// 打印名字
System.out.println(re.getString("name"));

// 打印生日
System.out.println(re.getTimestamp("birthday"));//这个得到的是没有时间的，有问题