JDBC中PreparedStatement.setObject(index,Object)方法,
1、index从1开始
2、在插入时间格式的字段时,此处的Object格式必须是java.sql.Date的对象
3、Oracle表中date格式可以表示年月日时分秒
4、从表中取出对象封装到JavaBean对象中,字段类型可以直接为java.util.Date
JDBC中PreparedStatement.setObject(index,Object)方法,
1、index从1开始
2、在插入时间格式的字段时,此处的Object格式必须是java.sql.Date的对象
3、Oracle表中date格式可以表示年月日时分秒
4、从表中取出对象封装到JavaBean对象中,字段类型可以直接为java.util.Date