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

Ask Your Question

Querying objects and restricting lookup criteria on member references

Hi All,

If I inject into the space Person objects that has a reference to an Address object and I want to lookup all persons living at a specific postcode for example.

How can I query this?

Thanks for the help.

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

asked 2008-01-12 15:50:13 -0500

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


With Entry - See:
Don't forget to turn on extended indexing.

With POJO - Simply have a getter for this inner class field. Don't forget to index it.

answered 2008-01-15 09:14:50 -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


Asked: 2008-01-12 15:50:13 -0500

Seen: 40 times

Last updated: Jan 15 '08