Hi everyone,
I am using Oracle Coherence 3.7.1 on OEL5.
I am trying to perform filtering in CohQL but it gives me an error and I have not solved this issue yet.
CohQL> select count() from customers
Results
8
CohQL> select key() from customers
Results
3
4
5
6
7
1
10
11
CohQL> select * from customers where name="john"
Portable(com.tangosol.util.WrapperException): (Wrapped: Failed request execution for PartitionedPofCache service on Member(Id=1, Timestamp=2012-10-06 14:18:47.744, Address=127.0.0.1:8088, MachineId=60314, Location=site:,machine:localhost,process:2712, Role=AfsungurCoherenceCustomerTest1)) Missing or inaccessible method: java.lang.String.getName()
CohQL>
As you see I can query the count of customers cache and also the key() elements of objects. But I can't access methods in my own class, Customer.
customers is my cache name and it is loaded with Customer objects. And Customer class has getName method but why Oracle Coherence looking for getName method in java.lang.String class instead of Customer class?
Thank you.