We've got a db table with a structure like this:

Name
Address
SSN
Field1
Field2
...
Field30approx


The guy who designed the java class for this (a bit more of a C-style programmer than 
I am) wrote a class structure like this:

String name;
Address address;
String ssn;
int[] fields;


where fields is an array of length 30 that has the values of fields 1 through 30. (The 
fields actually have individual names, not Field1 Field2 etc.)

is there a way to map my fields to an array, or do i have to have 30 internal 
variables?
-- 
Liam Morley
[EMAIL PROTECTED]

Reply via email to