Hi,

Apply .toString() to your generic value object.

Eg: if your generic record is orderItem then do orderItem.toString()


Thanks,
Nikita.
Amicon Technologies Pvt. Ltd.
Mumbai.


-----Original Message-----
From: vijay Si [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, September 25, 2007 11:42 AM
To: [email protected]
Subject: TypeCasting GenericValue object.

Hi,
I have been trying to type cast a generic value object to double and string,
but i get an error

"java.lang.ClassCastException: Cannot cast org.ofbiz.entity.GenericValue to
java.lang.xx"

Is there any particular way in ofbiz to work around this?

Regards

Reply via email to