Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » [CDO 0.8.0] StoreAccessor could return less or more element than the reference Chunk ask for.
[CDO 0.8.0] StoreAccessor could return less or more element than the reference Chunk ask for. [message #103657] Sun, 25 November 2007 20:36 Go to next message
Simon Mc Duff is currently offline Simon Mc DuffFriend
Messages: 596
Registered: July 2009
Senior Member
Hi Eike,

I would like Revisionmanager and CDORevisionImpl enough stable to allow a
Store to return more or less objects for a collection than it ask for.


When readRevision is called with ReferenceChunk = 10.
In some cases I would liek to return a different number like
0 or
5 or
10 or
20.

We have different parameters for differents collection in our system. We
have annotations store in the model... Hibernate use also different
annotations.... So the Store is the only one that know what are these value.

The fix I did to support that from now is in CDORevision writeValues and
readValues.. that`s it.

Thank you!
Re: [CDO 0.8.0] StoreAccessor could return less or more element than the reference Chunk ask for. [message #103715 is a reply to message #103657] Mon, 26 November 2007 11:26 Go to previous message
Eclipse UserFriend
Originally posted by: merks.ca.ibm.com

Simon,

Eike is away on vacation until Dec 12th.


Simon McDuff wrote:
> Hi Eike,
>
> I would like Revisionmanager and CDORevisionImpl enough stable to allow a
> Store to return more or less objects for a collection than it ask for.
>
>
> When readRevision is called with ReferenceChunk = 10.
> In some cases I would liek to return a different number like
> 0 or
> 5 or
> 10 or
> 20.
>
> We have different parameters for differents collection in our system. We
> have annotations store in the model... Hibernate use also different
> annotations.... So the Store is the only one that know what are these value.
>
> The fix I did to support that from now is in CDORevision writeValues and
> readValues.. that`s it.
>
> Thank you!
>
>
>
Re: [CDO 0.8.0] StoreAccessor could return less or more element than the reference Chunk ask for. [message #612666 is a reply to message #103657] Mon, 26 November 2007 11:26 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 31467
Registered: July 2009
Senior Member
Simon,

Eike is away on vacation until Dec 12th.


Simon McDuff wrote:
> Hi Eike,
>
> I would like Revisionmanager and CDORevisionImpl enough stable to allow a
> Store to return more or less objects for a collection than it ask for.
>
>
> When readRevision is called with ReferenceChunk = 10.
> In some cases I would liek to return a different number like
> 0 or
> 5 or
> 10 or
> 20.
>
> We have different parameters for differents collection in our system. We
> have annotations store in the model... Hibernate use also different
> annotations.... So the Store is the only one that know what are these value.
>
> The fix I did to support that from now is in CDORevision writeValues and
> readValues.. that`s it.
>
> Thank you!
>
>
>


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:[CDO 0.8.0] StoreAccessor could return less or more element than the reference Chunk ask for.
Next Topic:[documentation] why are diagrams not done with EMF?
Goto Forum:
  


Current Time: Sat Sep 19 16:53:19 GMT 2020

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

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

Back to the top