I have a simple class with a couple of strings and a couple of integers
(int), however, not matter how I try, when I restore the row, two of the
integer fields are never populated (they just return 0).

The first integer field (rowID) and the two String fields will populate, but
the irn and applicationType will not.

Any thoughts?



Here is the class description:
<class-descriptor
         class="com.cavaness.beer4all.businessobjects.GrantApplication"
         table="tbl_grant_applications"
   >
    <field-descriptor
         name="rowID"
         column="row_id"
         jdbc-type="INTEGER"
         
      />
      
      <field-descriptor
         name="grantApplicationGuid"
         column="grant_application_guid"
         jdbc-type="VARCHAR"
         primarykey="true"
      />
      
       <field-descriptor
         name="irn"
         column="district_irn"
         jdbc-type="INTEGER"
      />
      
      <field-descriptor
         name="applicantType"
         column="applicant_type"
         jdbc-type="INTEGER"
      />
      
       <field-descriptor
         name="grantGuid"
         column="grant_guid"
         jdbc-type="VARCHAR"
      />
        
    
  </class-descriptor>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to