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

Ask Your Question
0

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

Harvey gravatar image
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

Hi,

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

as a class property of your InitialLoadExternalDatasource class?

and:

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

Thanks,

Yuval

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

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

Stats

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

Seen: 697 times

Last updated: Oct 09