开发者社区 问答 正文

Timestamp 类型 求解! <b> ?

出借内容:Caused by: org.hibernate.MappingException: Could not determine type for: java.sql.Timestamp , for columns: [org.hibernate.mapping.Column(start_date)]

hibernate 文件图片说明

定义类文件:图片说明

展开
收起
爱吃鱼的程序员 2020-08-21 13:59:24 770 分享 版权
1 条回答
写回答
取消 提交回答
  • https://developer.aliyun.com/profile/5yerqm5bn5yqg?spm=a2c6h.12873639.0.0.6eae304abcjaIB

    sqlTimestamp类型只能对应java的Date不能对应Timestamp

    2020-08-21 13:59:42
    赞同 展开评论
问答分类:
问答地址: