title: Hibernate xml column definition
body: <p>so this seems to be a bit of a hack but I've been looking at this code too long. I have a table that's id is a bpchar in postgres. The pojo is looking for a string and I am getting an error when the xml finds a bpchar when it is expecting a varchar. My question is how do I either add a columnDefinition in either the pojo or the xml mapping file. The EO doesn't compile with the @column annontation and the xml can't be parsed when I try to add columnDefinition on an id. Any help or thoughts</p>
  
  <p>xml mapping file:</p>
  
  <pre><code>&lt;class name="POSTGRES.Customers" table="customers" schema="public"&gt;
          &lt;id name="custId" type="string"&gt;
              &lt;column name="CustID" /&gt;
              &lt;generator class="assigned" /&gt;
          &lt;/id&gt;
          &lt;property name="companyName" type="string"&gt;
              &lt;column name="CompanyName" length="40" not-null="true" /&gt;
          &lt;/property&gt;
  </code></pre>
  
  <p>pojo:</p>
  
  <pre><code>public String getCustId() {
          return this.custId;
      }
  </code></pre>