Welcome to the new Gigaspaces XAP forum. To recover your account, please follow these instructions.

Ask Your Question
0

Does Gigaspaces support reference to another space class with a space class

For example:

Instead of {code} class Friend { long characterId; } {code} You have {code} class Friend { Character character; } {code}

Both Friend and Character are space class.

Thanks,

Simon

{quote}This thread was imported from the previous forum. For your reference, the original is [available here|http://forum.openspaces.org/thread.jspa?threadID=2842]{quote}

asked 2009-02-04 12:21:58 -0500

noiseba gravatar image

updated 2013-08-08 09:52:00 -0500

jaissefsfex gravatar image
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

The referenced Object will be treated like any other Object. It will be
serialized and will not have its own space identity. This means you will
not be able to fetch it without its parent object or update it without
reading first its parent object.
If you would like to have the Character as a separate space object you
should write it separately and have its ID as part of the parent Friend
object to have these 2 associated.

Shay

answered 2009-02-04 12:39:49 -0500

shay hassidim gravatar image
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2009-02-04 12:21:58 -0500

Seen: 28 times

Last updated: Feb 04 '09