Open zero-master opened 4 years ago
I am not sure where's the problem, is it datastore or this library?
public List<Campaign3> getLiveCampaignsForAccount(Long accountId) { EntityQueryRequest request = datastoreAdapter.getEm().createEntityQueryRequest("SELECT * FROM " + ENTITY_NAME + " WHERE accountId=@1 and live = @2"); request.addPositionalBinding(accountId); request.addPositionalBinding(true); QueryResponse<Campaign3> response = datastoreAdapter.getEm().executeEntityQueryRequest(Campaign3.class, request); return response.getResults(); }
Have you tried the query from GCP console? What was the result?
I am not sure where's the problem, is it datastore or this library?