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

Ask Your Question
0

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 -0600

kaarelk gravatar image

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

jaissefsfex gravatar image
edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

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

Shay

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

shay hassidim gravatar image
edit flag offensive delete link more
0

Add the following properties to the partitioned spaces:

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

Eitan

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

eitany gravatar image
edit flag offensive delete link more

Comments

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 -0600 )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

Stats

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

Seen: 10 times

Last updated: Aug 28 '08