Hi,
I've been following OJB for sometime now. I recently decided to switch a small web-app from using the PersistanceBroker to using OTM (I also updated from RC 6 to 1.0 final). After reading through the OTM tutorial, I changed my code to use OTM; however I get the following error when attempting to store new Objects. Is there some setting that I need to change or something?


org.apache.ojb.otm.copy.ObjectCopyException: java.io.NotSerializableException: net.ipov.timesheet.TimeEntry
at org.apache.ojb.otm.copy.SerializeObjectCopyStrategy.copy(Unknown Source)
at org.apache.ojb.otm.copy.ReflectiveObjectCopyStrategy.handleObjectWithNoArgsConstructor(Unknown Source)
at org.apache.ojb.otm.copy.ReflectiveObjectCopyStrategy.clone(Unknown Source)
at org.apache.ojb.otm.copy.ReflectiveObjectCopyStrategy.copy(Unknown Source)
at org.apache.ojb.otm.copy.MetadataObjectCopyStrategy.clone(Unknown Source)
at org.apache.ojb.otm.copy.MetadataObjectCopyStrategy.clone(Unknown Source)
at org.apache.ojb.otm.copy.MetadataObjectCopyStrategy.copy(Unknown Source)
at org.apache.ojb.otm.core.ConcreteEditingContext.insertInternal(Unknown Source)
at org.apache.ojb.otm.core.ConcreteEditingContext.insert(Unknown Source)
at org.apache.ojb.otm.core.BaseConnection.makePersistent(Unknown Source)


--
   Robert r. Sanders
   Chief Technologist
   iPOV
   www.ipov.net


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



Reply via email to