不明白java.sql.Timestamp在情况下使用,用来干什么的,看了好了几个例子还是不明白???

解决方案 »

  1.   

    A thin wrapper around java.util.Date that allows the JDBC API to identify this as an SQL TIMESTAMP value. It adds the ability to hold the SQL TIMESTAMP nanos value and provides formatting and parsing operations to support the JDBC escape syntax for timestamp values.看API
      

  2.   

    就是数据库的datetime类型对应的Java对象