|
Re: [CDO] CDOBlob datatype [message #1739099 is a reply to message #1739090] |
Wed, 27 July 2016 14:03 |
|
Am 27.07.2016 um 16:34 schrieb Robert Schulk:
> I am trying to use the datatype CDOBlob.
> In project org.eclipse.emf.cdo.tests.model3, there is an example model which uses CDOBlob.
>
> Now, my problem is that the ecore validation flags an error if I set my CDOBlob attribute to non-transient as is done
> in the test-model:
>
> "The attribute 'MyContainer.blobTest' is not transient so it must have a data type that is serializable"
>
> So what is the right setting for CDOBlob? I tried:
>
> 1) Non-Transient: this works, but ecore validation throws ugly errors.
> 2) Transient: changes are not persistent! (Ecore validation flags no errors though).
1) is the way to go.
I did not notice this before, but our test model3.ecore doesn't validate successfully, either. I'd like to investigate
that when I'm back from vacation. Please submit a bugzilla to remind me.
Cheers
/Eike
----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper
Cheers
/Eike
----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03850 seconds