19.7.4

作者: ifreeman | 来源:发表于2019-07-08 22:11 被阅读0次

    Intellij热部署插件JRebel

    https://blog.csdn.net/xingbaozhen1210/article/details/81093041

    https://blog.csdn.net/weixin_42831477/article/details/82229436

    报错:

    java.sql.SQLSyntaxErrorException: Table 'test.hibernate_sequence' doesn't exist

    解决:https://blog.csdn.net/thulium_kyg/article/details/84725001

    这个是主键自增长策略问题。

    @GeneratedValue:主键的产生策略,通过strategy属性指定。 

    @GeneratedValue(strategy = GenerationType.IDENTITY)

    报错:

    MySQL连接数据库报时区错误:java.sql.SQLException: The server time zone value

    java.sql.SQLException: The server time zone value '�й���׼ʱ��' is

    unrecognized or represents more than one time zone. You must configure

    either the server or JDBC driver (via the serverTimezone configuration

    property) to use a more specifc time zone value if you want to utilize

    time zone support.

    解决:

    为URL添加参数serverTimezone=UTC即可

    相关文章

      网友评论

        本文标题:19.7.4

        本文链接:https://www.haomeiwen.com/subject/rkxlhctx.html