title: Getting Error "Found: int64, expected: integer" while Migrating Java application with Hibernate from DB2 to BigQuery
body: <p>I am trying to migrate a Java application backend from DB2 to BigQuery but getting a datatype mismatch error.
  In DB2 as well as BigQuery field type is defined as INTEGER, but behind the scene INTEGER is INT64 in BigQuery.
  So when the Java Application try to refer to this field it gives an error:
  <strong>org.hibernate.HibernateException error Found: int64, expected: integer</strong></p>
  <p>Java Application is build using Spring Roo and Hibernate and in order to connect this Java application to BigQuery I am using Simba driver.</p>
  <p>So either there is a way in Google Cloud Bigquery or If I can convert INT64 to INTEGER, but how or if anyone can suggest any other approach.</p>