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

Ask Your Question

Partitioning OR mapped objects

We need to load objects with hibernate using ALL-IN cache policy so that they will also be partitioned. How to do it with Gigaspaces? Even though we specify @SpaceRouting field all partitions contain all the objects.

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

asked 2008-08-28 06:28:47 -0500

kaarelk gravatar image

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

jaissefsfex gravatar image
edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

Make sure u run with backups.
This is a known issue when running without backups. We are investigating this.


answered 2008-08-28 07:56:49 -0500

shay hassidim gravatar image
edit flag offensive delete link more

Add the following properties to the partitioned spaces:

cluster-config.cache-loader.external-data-source=true cluster-config.cache-loader.central-data-source=true


answered 2008-08-28 06:45:23 -0500

eitany gravatar image
edit flag offensive delete link more


Those properties didn't change anything.

Problem is (as I see it) that: * hibernate datasource requires embedded space proxy * embedded space proxy cannot partition objects (as it sees 1 partition as whole space)

kaarelk gravatar imagekaarelk ( 2008-08-28 07:46:54 -0500 )edit

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


Asked: 2008-08-28 06:28:47 -0500

Seen: 30 times

Last updated: Aug 28 '08