title: let hibernate entity generator generate primary data type instead of object type
body: <p>i am using hibernate-entity-generator (maven plugin) to generate entity class from database tables. </p>
  
  <p>All the data type in generated entities are object types, how to let hibernate generate primary types instead of object type?</p>
  
  <p>for example, i have a user_data_profile table (mysql):</p>
  
  <pre>
  +--------------------+------------+
  | Field              | Type       |
  +--------------------+------------|
  | id                 | bigint(20) |
  | login_times        | int(11)    |
  | work_apply_times   | int(11)    |
  | work_done_times    | int(11)    |
  +--------------------+------------+
  </pre>
  
  <p>the generated entity class is like this:</p>
  
  <pre><code>public class UserDataProfile {
      private Long id;
      private Integer loginTimes;
      private Integer workApplyTimes;
      private Integer workDoneTimes;
  }
  </code></pre>
  
  <p>what i actually want is this :</p>
  
  <pre><code>public class UserDataProfile {
      private long id;
      private int loginTimes;
      private int workApplyTimes;
      private int workDoneTimes;
  }
  </code></pre>