Does Jooq support Joda-Time?

人走茶凉 提交于 2019-12-23 14:55:08

问题


We are looking for date time support for different timezones. It seems Hibernate supports Joda time, any idea does JOOQ supports the same?


回答1:


jOOQ by itself does not support Joda-Time, nor any other third-party data type. But you can easily configure the jOOQ code generator to rewrite data types through custom converters. This is documented here:

  • http://www.jooq.org/doc/latest/manual/sql-execution/fetching/data-type-conversion/
  • http://www.jooq.org/doc/latest/manual/code-generation/custom-data-types/


来源:https://stackoverflow.com/questions/18441747/does-jooq-support-joda-time

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!