How to map MySQL DATE '0000-00-00' & TIME '00:00:00' with Hibernate

前端 未结 0 1396
谎友^
谎友^ 2021-01-15 02:06

First, you need to add \"zeroDateTimeBehavior=convertToNull\" to the end of db connection url - that converts zero dates to nulls while reading records.

Second, you

相关标签:
回答
  • 消灭零回复
提交回复
热议问题