Hi,
Tutorial 3 on OJB has an example with the following code,
public abstract class DBAutoIncremented
implements PersistenceBrokerAware
{
....
...
private Query buildQueryOnAllNonIdAttributes(
Class clazz,
ClassDescriptor cld)
{
// note: these are guaranteed to be in the same order
FieldDescriptor[] fields = cld.getFieldDescriptions();
Object[] values = cld.getAllValues(this);
.....
...
}
}
I cannot get the line
**** Object[] values = cld.getAllValues(this);*****
to compile. When I look at the Javadoc for ClassDescriptor there isn't a
method called getAllValues(..). Is this method deprecated?? If so, how can I
retrieve attribute values for a class??
Thanks for your help.
Sashi
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]