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

Ask Your Question
0

Enums search

Hello, we have application (coded by previous contractor) that uses Gigaspaces 6.0. I found on this forum that enums are supported in POJOs classes even with indexing. We have the following problem:

We have POJO class Element that use enum as a field lets say StatusCode. Now the problem is that we have .dbs file that was created by writing these Element classes to it. Now we are using read, readMultiple methods to find corret ones in the dbs file. What is strange that when we use template object of Element class we can find all of the instances that were written to space (dbs). All that are found contains some kind of StatusCode.

But, when we set exact StatusCode to template object the read methods dont find anything. Whats even more confusing is that when we tried to write new Element to existing .dbs file and then call read method with template (StatusCode set) it finds that one record but no others. We come to dead end with this and we have no idea where is the problem. The newly added element is exactly same as the ones added before to dbs so there is no reason why shouldn't read methods find them all.

Thanks for answer.

asked 2013-10-03 04:42:25 -0500

p.bucka's avatar
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

Enum type fields supported starting XAP 8.

answered 2013-10-04 07:45:31 -0500

shay hassidim's avatar
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

Stats

Asked: 2013-10-03 04:42:25 -0500

Seen: 75 times

Last updated: Oct 04 '13