Question on persistence of Enumeration data types using CDO [message #560968] |
Fri, 14 October 2005 22:03 |
Eclipse User |
|
|
|
Originally posted by: tvalence1.cox.net
Greetings Eike,
I am trying to use CDO to persist an object that has an attribute that is an
Enumeration data type.
I've attached a detailed stack trace and the generated code for the datatype
in question for reference.
Unfortuntately, when I try to persist the object to a CDO resource, I
receive the following exception:
[DEBUG] common.connector-channel-1:
[DEBUG]
common.connector-channel-1: ------------------------------------------------------------ ---------
[DEBUG] common.connector-channel-1: Transmitting request CommitTransaction
[DEBUG] common.connector-channel-1: commitObjectsToDetach()
[DEBUG] common.connector-channel-1: commitObjectsToAttach(30 objects)
[DEBUG] common.connector-channel-1: Transmitting object to attach: oid=1:-1,
cid=10, isContent=true
....
[DEBUG] common.connector-channel-1: Transmitting object to attach: oid=1:-3,
cid=5, isContent=false
[DEBUG] common.connector-channel-1: Transmitting attributeSegment
mymodel.Process
[DEBUG] common.connector-channel-1: Transmitting attribute description
[DEBUG] common.connector-channel-1: Transmitting attribute priority
[DEBUG] common.connector-channel-1: Transmitting attribute validFrom
[DEBUG] common.connector-channel-1: Transmitting attribute validTo
[DEBUG] common.connector-channel-1: Transmitting attribute timeEstimation
[DEBUG] common.connector-channel-1: Transmitting attribute durationUnit
[DEBUG] com.mycompany.myapp.correlator.InterpreterCorrelator: The datatype
'DurationUnit' is not a valid classifier
Am I missing something in the genmodel settings for CDO that are required to
properly handle the serialization of enumerated data types?
Any assistance would be greatly appreciated.
Thanks!
= Ted Valencia
|
|
|
Powered by
FUDForum. Page generated in 0.03385 seconds