Question on persistence of Enumeration data types using CDO [message #588] |
Fri, 14 October 2005 18: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
|
|
|
Re: Question on persistence of Enumeration data types using CDO [message #603 is a reply to message #588] |
Sat, 15 October 2005 02:31   |
Eclipse User |
|
|
|
Originally posted by: stepper.sympedia.de
Hi Ted,
I remember that a similar issue has been fixed some time ago.
Please try to update the sources from HEAD.
Does it do the trick?
Cheers
/Eike
p.s. As soon as EMFT Bugzilla is available for CDO, I will start
tracking issues and proper releases, so that it will be
easier to detect the need of CVS updates...
TVal schrieb:
> 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
>
>
>
>
>
>
|
|
|
Re: Question on persistence of Enumeration data types using CDO [message #616 is a reply to message #603] |
Mon, 17 October 2005 18:36   |
Eclipse User |
|
|
|
Originally posted by: tvalence1.cox.net
Hi Eike,
The code update fixed the issue.
Thanks!
- Ted
"Eike Stepper" <stepper@sympedia.de> wrote in message
news:diq7j5$bou$1@news.eclipse.org...
> Hi Ted,
>
> I remember that a similar issue has been fixed some time ago.
> Please try to update the sources from HEAD.
> Does it do the trick?
>
> Cheers
> /Eike
>
> p.s. As soon as EMFT Bugzilla is available for CDO, I will start
> tracking issues and proper releases, so that it will be
> easier to detect the need of CVS updates...
>
>
>
> TVal schrieb:
>> 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
>>
>>
>>
>>
>>
|
|
|
|
Re: Question on persistence of Enumeration data types using CDO [message #560982 is a reply to message #588] |
Sat, 15 October 2005 02:31  |
Eclipse User |
|
|
|
Hi Ted,
I remember that a similar issue has been fixed some time ago.
Please try to update the sources from HEAD.
Does it do the trick?
Cheers
/Eike
p.s. As soon as EMFT Bugzilla is available for CDO, I will start
tracking issues and proper releases, so that it will be
easier to detect the need of CVS updates...
TVal schrieb:
> 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
>
>
>
>
>
>
|
|
|
Re: Question on persistence of Enumeration data types using CDO [message #560996 is a reply to message #603] |
Mon, 17 October 2005 18:36  |
Eclipse User |
|
|
|
Originally posted by: tvalence1.cox.net
Hi Eike,
The code update fixed the issue.
Thanks!
- Ted
"Eike Stepper" <stepper@sympedia.de> wrote in message
news:diq7j5$bou$1@news.eclipse.org...
> Hi Ted,
>
> I remember that a similar issue has been fixed some time ago.
> Please try to update the sources from HEAD.
> Does it do the trick?
>
> Cheers
> /Eike
>
> p.s. As soon as EMFT Bugzilla is available for CDO, I will start
> tracking issues and proper releases, so that it will be
> easier to detect the need of CVS updates...
>
>
>
> TVal schrieb:
>> 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.04456 seconds