Alright, this was a massive brain fart. I am embarrassed to admit it, but I will reveal to the group the problem so incase someone else has it later on:
Make sure you only have *one* definition for your class in the repository file! I had two for this class, one at the bottom that I didn't see, that didn't have the mapping for those fields defined -- d'oh! -Andrew On 7/24/03 2:01 PM, "Andrew Clute" <[EMAIL PROTECTED]> wrote: > 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] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
