found [date (Types#DATE)], but expecting [timestamp (Types#TIMESTAMP)]

在对应的列上加注解可以解决

 @Column(name = "hiredate", columnDefinition = "DATE")
 private Timestamp hiredate;
  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
Thinking with Types started, as so many of my projects do, accidentally. I was unemployed, bored, and starting to get tired of answering the same questions over and over again in Haskell chat-rooms. And so I started a quick document, jotting down a bunch of type-level programming topics I thought it’d be fun to write blog posts about. This document rather quickly turned into an outline ofwhat those blog posts might look like, but as I was about to tease it apart into separate files I stopped myself. Why not turn it into a book instead? I approached some friends to see if anyone was interested in writing it with me. A few nibbles, but nobody had time they wanted to dedicate to such a thing. My excitement subsequently burned out, and the idea lay dormant on the back-burner for a few months. But I was still unemployed, and I was still bored, and I found myself slowly fleshing out chapters regardless. My enthusiasm for writing a book had died down, but I still felt the urge to write. A friend caught me writing one day, and dared me to publish what I had. I acquiesced. And so on July 8th, 2018, I posted a 37 page document to reddit, gauging if there was any interest from the community in such a book. To my continual surprise, there was. The response was about 100x bigger than I was expecting. Kind words and letters of support rolled in, many of whom promised to pay me in order to continue writing it. That was enough for me. I put together a Patreon, started selling early access to the book, and was off to the races. The promise was to publish weekly updates, which—combined with not wanting to commit fraud—kept me extremely motivated to get this book finished. It’s a powerful technique to stay focused, and I’d strongly recommend it to anyone who is better at starting projects than finishing them. It sounds cliche, but this book couldn’t have happened without the overwhelming support of the Haskell community. It’s particularly telling that every day I learn new things from them about this marvelous language, even after five years. Written with love by Sandy Maguire. 2018.

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值