Oracle中timestamp时间戳的长度
1.长度为3代表毫秒的三位
2系统时间装换为时间戳格式
Timestamp nowTime = new Timestamp(System.currentTimeMillis());
SimpleDateFormat sdf = new SimpleDateFormat(“yyyy-MM-dd hh:mm:ss.SSS”);
String time = sdf.format(nowTime);
nowTime = Timestamp.valueOf(time);