datetimeoffset hibernate mapping

后端 未结 2 1532
小蘑菇
小蘑菇 2020-12-19 15:29

I\'m trying to use hibernate with ms sql server and have difficulties mapping the sql type datetimeoffset to java. If I try to set the mapping type in the reverse engineerin

2条回答
  •  别那么骄傲
    2020-12-19 16:07

    Your can provide a custom Hibernate user type. For example by implementing org.hibernate.type.MutableType.

    Refer Hibernate Reference for more information.

提交回复
热议问题