I don’t see an updated data store with entities, even if code debugging is successful without errors

Datastore is not updated, even there are no errors. My code is:

package com.google.gwt.sample.stockwatcher.server; import java.util.ArrayList; import com.google.appengine.api.datastore.DatastoreService; import com.google.appengine.api.datastore.DatastoreServiceFactory; import com.google.appengine.api.datastore.Entity; import com.google.gwt.sample.stockwatcher.client.DelistedException; import com.google.gwt.sample.stockwatcher.client.StockPrice; import com.google.gwt.sample.stockwatcher.client.StockPriceService; import com.google.gwt.user.server.rpc.RemoteServiceServlet; public class StockPriceServiceImpl extends RemoteServiceServlet implements StockPriceService { @Override public String getPrices(ArrayList<StockPrice> stocksData) throws DelistedException { DatastoreService ds = DatastoreServiceFactory.getDatastoreService(); Entity stock = new Entity("Stock", 1); stock.setProperty("Stock", "FCB"); ds.put(stock); return "ahoie"; } } 

What could be the reason for this?

Is there something missing in the setup on eclipse or in Google’s online engine mode?

I noticed that it works and shows data locally: 127.0.0.1:8888/_ah/admin But the web datastore administrator’s admin console https://appengine.google.com is not updated even if I deploy my application in the cloud of application engines

0
source share

Source: https://habr.com/ru/post/1342414/


All Articles