Menu
  • HOME
  • TAGS

How to access a Gemfire object access by a sub-objects unique value or set of values?

gemfire,spring-data-gemfire

The simplest case would be to use a query (GemFire OQL) to get what you need... SELECT c FROM /Customers c, c.emailAddresses e WHERE e.emailAddress = $1 DISCLAIMER: I have not tested the query, but I think this should work. Also, sense email address is validated and guaranteed to be...

What is the purpose of Spring Data and its level of Abstraction?

spring,spring-data,spring-data-gemfire,spring-data-redis

Spring data does provide a level of abstraction to the underlying data store. However, NoSQL stores are a very diverse spectrum, one is a graph database, the other is specialized for storing documents, the third for storing key-value pairs etc. Nonetheless, these are not the differences that you want to...

Can GemFire OQL query be done on all the child-regions of a parent-region, in a single query

gemfire,oql,spring-data-gemfire

@Ashish If I understand your problem correctly, the quick answer is no. It seems you want to use a parent (e.g. NAM_Type1) Region to refer to, or rather query across data contained in multiple Sub-Regions of the parent (e.g. USA, MEXICO, etc) and "aggregate" the results from all the Sub-Regions???...

Spring integration outbound channel for Gemfire to store payload

spring-integration,gemfire,spring-data-gemfire

AbstractMethodError is usually because of a classpath problem (version mismatch). In this case, it looks like you are using spring-integration-core 4.x and spring-integration-gemfire 3.x (or earlier); or vice-versa. In 4.0, the signature of that method changed (different Message object). I suggest you use 4.1.2 for everything....

Gemfire Subscription does not work on distributed environment

gemfire,spring-data-gemfire

I believe you need data-policy=NORMAL (or something other than EMPTY) for this to work. See DataPolicy for more details. The client listener will not fire because data is never replicated to the client cache, so there is no state change. With data-policy=EMPTY, the listener will fire only if a put...

Gemfire Junit for multi module project tests are taking too long

gemfire,spring-data-gemfire

In certain cases, you cannot avoid it, especially if you dirty the Spring context or your GemFire instance in such a way that it would lead to conflicts when running subsequent tests in your test suite. I.e. it maybe more work to try to manage isolation/separation in each new test...

Gemfire PDX error on startup : The PDX metadata has already been created as a peer metadata region. Please create your pools first

gemfire,spring-data-gemfire

Got it. The issue was that the name of the region on applicationContext.xml had a typo (minor case letter) So the region was not being created and after that I was trying to add it to the pool. Anyway, that error message is just terrible... Maybe something related to the...

SpringData Gemfire inserting fake date on Dev env

gemfire,spring-data-gemfire

There is no direct support in Spring Data GemFire to load data into a GemFire cluster. However, there are several options afforded to a SDG/GemFire developer to load data. The most common approach is to define a GemFire CacheLoader attached to the Region. However, this approach is "lazy" and only...