title: SpringBoot JPA Err: No Dialect mapping for JDBC type: 728890494
body: <p>No Dialect mapping for JDBC type: 728890494, when hibernate ddl for initial db.
  if I change </p>
  
  <pre class="lang-java prettyprint-override"><code>EntityStatusConvert2 implements AttributeConverter&lt;EntityStatus2, Byte&gt;
  </code></pre>
  
  <p>to </p>
  
  <pre class="lang-java prettyprint-override"><code>EntityStatusConvert2 implements AttributeConverter&lt;EntityStatus2, Integer&gt;
  </code></pre>
  
  <p>it works very well.
  And I try to write myself Dialect </p>
  
  <pre class="lang-java prettyprint-override"><code>this.registerHibernateType(728890494,org.hibernate.type.StandardBasicTypes.INTEGER.name)
  </code></pre>
  
  <p>This problem still exists。</p>
  
  <p>The entity and converter code :</p>
  
  <pre class="lang-java prettyprint-override"><code>@Entity
  public class Channel {
      @Id
      @GeneratedValue(strategy = GenerationType.IDENTITY)
      int id;
      /**.... */
      @Convert(converter = EntityStatusConvert2.class)
      EntityStatus2 st;
  
  }
  
  public class EntityStatusConvert2 implements AttributeConverter&lt;EntityStatus2, Byte&gt; {
      @Override
      public Byte convertToDatabaseColumn(EntityStatus2 entityStatus) {
          return 1;
      }
  
      @Override
      public EntityStatus2 convertToEntityAttribute(Byte aByte) {
          return EntityStatus2.OK;
      }
  }
  
  Caused by: org.hibernate.MappingException: No Dialect mapping for JDBC type: 728890494
  </code></pre>
  
  <p>The code above is running in SpringBoot 2.1.4,hibernate 5.3.9final.</p>