Hi,

Could someone help me out with this?

I get this exception while trying to set property value for a node to an
object

 java.lang.ClassCastException: package.objectClassname cannot be cast to
javax.jcr.Value

In my code, I am trying to set the property value this way:

patientRecords.setProperty("PatientObject", (Value)
persistedObject.getObject());


where patientRecords is a node, and persistedObject is the object


Any suggestions would be appreciated.

Thanks
Anit 

Reply via email to