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

Ask Your Question

gigaspace context in initial load

hi ,

is it possible to inject gigaspace context during initial load,

basically, i have a customer table, which has a column partition id, and customer data gets bootstrapped into each partition however i am not willing to add partition id to other tables like agreement and description tables, also our domain model is such that agreement and description tables cannot be considered as a child to customer table they are separate business entities. for performance reasons i want to collocate all of customers data in same partition.

so idea was to load databsequentially one data iterator after another n in agreement data iterator i first fetch the customers and for all those customers i query the db

asked 2017-10-03 22:24:15 -0500

Harvey gravatar image
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted


Have you tried inject by adding: @GigaSpaceContext GigaSpace gigaspace;

as a class property of your InitialLoadExternalDatasource class?


<os-core:giga-space id="gigaSpace" ...="" in="" your="" pu.xml<="" p="">



answered 2017-10-09 03:37:07 -0500

Yuval 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


Asked: 2017-10-03 22:24:15 -0500

Seen: 883 times

Last updated: Oct 09 '17