title: Grails (Hibernate) Mapping of java.time.ZoneId to Database
body: <p>Is there any way how to support persistent mapping of java.time.ZoneId to string in Hibernate 5.1.1. It saves the ZoneId in binary form right now.</p>
  
  <p>I've just upgraded to Grails 3.2.1 which has Hibernate 5.1.1. Saving of java.time.Instant for example works fine however java.time.ZoneId is stored only in binary form.</p>
  
  <p>I think there is no support from Hibernate. So how can I code my own mapping. I've tried to use <a href="http://jadira.sourceforge.net/" rel="nofollow">Jadira Framework</a> but it is not possible as there are some conflicts (exceptions) when starting the grails app.</p>