Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » CDO and Boolean
CDO and Boolean [message #45872] Tue, 22 August 2006 07:08 Go to next message
Chris Lenz is currently offline Chris LenzFriend
Messages: 214
Registered: July 2009
Senior Member
Hi all,

I tried to youse a Boolean field in my model.
If I read this field from db I get a classcast exception.

I use mysqldb.

Had anyone also this problem?
Chris
Re: CDO and Boolean [message #45936 is a reply to message #45872] Tue, 22 August 2006 07:31 Go to previous message
Eclipse UserFriend
Originally posted by: stepper.sympedia.de

Chris,

This problem has not been reported before.
If you have modified the model *after* it has been persisted once, you have to delete or edit the generated mapping file to reflect the changes.
In some cases (only adding new classes) this is sufficient and CDO will create the additional tables automatically.
If you have changed existing classes you have to adjust the existing tables as well.

Please open a Bugzilla, if you believe that this is an issue with CDO.
And don't forget to attach client and server logs.
Only with these I'm able to understand what happened.

Cheers
/Eike


Chris Lenz schrieb:
> Hi all,
>
> I tried to youse a Boolean field in my model.
> If I read this field from db I get a classcast exception.
>
> I use mysqldb.
>
> Had anyone also this problem?
> Chris
Re: CDO and Boolean [message #585846 is a reply to message #45872] Tue, 22 August 2006 07:31 Go to previous message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6682
Registered: July 2009
Senior Member
Chris,

This problem has not been reported before.
If you have modified the model *after* it has been persisted once, you have to delete or edit the generated mapping file to reflect the changes.
In some cases (only adding new classes) this is sufficient and CDO will create the additional tables automatically.
If you have changed existing classes you have to adjust the existing tables as well.

Please open a Bugzilla, if you believe that this is an issue with CDO.
And don't forget to attach client and server logs.
Only with these I'm able to understand what happened.

Cheers
/Eike


Chris Lenz schrieb:
> Hi all,
>
> I tried to youse a Boolean field in my model.
> If I read this field from db I get a classcast exception.
>
> I use mysqldb.
>
> Had anyone also this problem?
> Chris


Previous Topic:OCL Tuple Problem
Next Topic:org.eclipse.emf.ecore.xmi.FeatureNotFoundException Thrown
Goto Forum:
  


Current Time: Wed Apr 24 22:27:03 GMT 2024

Powered by FUDForum. Page generated in 0.02176 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top