I don't think I'm using PersistentNestedFieldMaxPerformanceImpl correctly.

I have a property on a class Vehicle called tareWeight, of type Weight. Weight in turn has one property "grainAmount" of type long. I put the following field descriptor inside Vehicle:

<field-descriptor column="tareweight_grain" id="5" jdbc-type="BIGINT" name="tareWeight->grainAmount" />

This works fine for saving the object: the grainAmount is persisted to the correct column. *But* when the object is retrieved from persistence, OJB is trying to push a correctly constructed Weight object into the grainAmount property of an empty Weight object. Why is it not trying to push the Weight object into the vehicle's "tareWeight" property?

Thanks,

Gareth.
--
-------------------
Gareth Cronin
Analyst/Programmer
Kiwiplan NZ Ltd
www.kiwiplan.com
Ph 2727622 x854
-------------------


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



Reply via email to