I guess the question I have is really more a JDO/GAE question than a GWT question as I need to know how to convert the StreamingQueryResult into a regular collection. However, if there is a way to work around marshaling the StringIdentity to the client that would work too.
--To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/wyT11sMQBugJ.
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-we...@googlegroups.com.
To unsubscribe from this group, send email to google-web-tool...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Server Error: Invalid primary key for com.zoltu.jdo_requestfactory_test.server.MyEntity. The primary key field is an encoded String but an unencoded value has been provided. If you want to set an unencoded value on this field you can either change its type to be an unencoded String (remove the "gae.encoded-pk" extension), change its type to be a com.google.appengine.api.datastore.Key and then set the Key's name field, or create a separate String field for the name component of your primary key and add the "gae.pk-name" extension.
--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/yvVeairI37UJ.
To post to this group, send email to google-we...@googlegroups.com.
To unsubscribe from this group, send email to google-web-tool...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
[RequestFactory] is designed to be used with an ORM layer like JDO or JPA on the server, although this is not required.
--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/O02ysUU8l_UJ.
To post to this group, send email to google-we...@googlegroups.com.
To unsubscribe from this group, send email to google-web-tool...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
The project you linked to uses Objectify rather than JDO for persistence. Unfortunately, all examples of RequestFactory that I have been able to find use something other than JDO for persistence. I assumed that JDO would work with request factory since it is mentioned in the RequestFactory documentation but am I incorrect in this assumption that the two are compatible? Is my best course of action to just change persistence engines to something that I can find working samples of (such as Objectify)?
--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/95i4vSridH8J.
To post to this group, send email to google-we...@googlegroups.com.
To unsubscribe from this group, send email to google-web-tool...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Query lQuery = MyPersistenceManagerFactory.fGet().newQuery(MyEntity.class);
try
{
List<MyEntity> lMyEntities = (List<MyEntity>) lQuery.execute();
return lMyEntities;
}
finally
{
lQuery.closeAll();
}
--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/tj0KOVUyz4EJ.
To post to this group, send email to google-we...@googlegroups.com.
To unsubscribe from this group, send email to google-web-tool...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
@ProxyFor(value = MyEntity.class, locator = MyEntity.Locator.class)
public interface MyEntityProxy extends EntityProxy
{
public String getKey();
public void setKey(String pKey);
}