Skip to main content



      Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » CDO and Boolean
CDO and Boolean [message #45872] Tue, 22 August 2006 03:08 Go to next message
Eclipse UserFriend
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 03: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 03:31 Go to previous message
Eclipse UserFriend
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: Tue Jul 22 13:08:47 EDT 2025

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

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

Back to the top