title: UserType / Hibernate / JodaTime - where to set UserType global properties?
body: <p>I'm using the <code>org.jadira.usertype.dateandtime.joda.PersistentDateTime</code>  class from UserType 3.0.0.RC1 to map a JodaTime <code>DateTime</code> to Hibernate. <a href="http://usertype.sourceforge.net/apidocs/org/jadira/usertype/dateandtime/joda/PersistentDateTime.html" rel="noreferrer">The Javadocs</a> for the class mention that there are 'databaseZone' and 'jvmZone' properties which I would like to set, but I cannot find anything in the UserType documentation that indicates how to do this. I found <a href="https://forum.hibernate.org/viewtopic.php?f=1&amp;t=1003520" rel="noreferrer">this thread</a> which seems to imply that these are set by XML similar to the following:</p>
  
  <pre><code>&lt;prop key="jadira.usertype.autoRegisterUserTypes"&gt;true&lt;/prop&gt;
  &lt;prop key="jadira.usertype.databaseZone"&gt;jvm&lt;/prop&gt;
  </code></pre>
  
  <p>I tried adding these to my hibernate configuration, but that just gave an error. Does anyone know where this configuration needs to go? Thanks.</p>