I did as suggested and added javatype="object", but now it won't compile it
gives this error:

The method asIntegerObj() is undefined for the type
com.workingdogs.village.Value for this block of code:

        public static void populateObject(Record row, int offset, Demographic obj)
                throws TorqueException {
                try {
                        obj.setDemoid(
                                new NumberKey(row.getValue(offset + 
0).asBigDecimal()));
                        obj.setCampaignid(row.getValue(offset + 1).asIntegerObj());
                        obj.setAgefrom(row.getValue(offset + 2).asIntegerObj());
                        obj.setAgeto(row.getValue(offset + 3).asIntegerObj());
                        obj.setDescription(row.getValue(offset + 4).asString());
                        obj.setGender(row.getValue(offset + 5).asIntegerObj());
                        obj.setIncomefromid(row.getValue(offset + 6).asIntegerObj());
                        obj.setIncometoid(row.getValue(offset + 7).asIntegerObj());
                        obj.setIndustryid(
                                new NumberKey(row.getValue(offset + 
8).asBigDecimal()));
                        obj.setJobtitleid(
                                new NumberKey(row.getValue(offset + 
9).asBigDecimal()));
                        obj.setQuestions(row.getValue(offset + 10).asString());
                        obj.setVisited(row.getValue(offset + 11).asIntegerObj());
                } catch (DataSetException e) {
                        throw new TorqueException(e);
                }
        }

and when I checked the Value object, it doesn't even support int, float, etc
as objects.  Am I using the wrong libraries (village-1.5.3-dev.jar).

Adam Greene
ROMulin Group Inc

885 Main St, Suite 16
Moncton, NB
E1C 1G5

Ph: (506) 863-1014 x4
Fx: (506) 854-6886

http://www.romulin.com/



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

Reply via email to