[google-appengine] Show real db query in logs

2011-02-09 Thread Jonas Gehring
Hello. Sometimes an error occurs because a db query went wrong... Then in the logs there is an entry in that way: javax.persistence.NonUniqueResultException: Expected a single result for query: SELECT FROM Employee WHERE user=:user : The query returned more than one instance BUT either unique

[google-appengine] Re: Java server side i18n?

2010-12-09 Thread Jonas Gehring
sorry the patch wasn't complete. I posted the complete classes on my page: http://www.jjoe64.com/java-coding/gwt-i18n-server-side On 10 Dez., 08:13, Jonas Gehring wrote: > hi. > there is a way to use the gwt constants/messages on the server side. I > use it so: > > Checkoutht

[google-appengine] Re: Java server side i18n?

2010-12-09 Thread Jonas Gehring
hi. there is a way to use the gwt constants/messages on the server side. I use it so: Checkout http://code.google.com/p/gwt-i18n-server/ from SVN. Then you have to patch it for the GAE like I did it (see down). You have to copy your CONSTANTS.properties + MESSAGES to the folder war/nls_server.

[google-appengine] Re: help me - channel api

2010-11-14 Thread Jonas Gehring
This error comes when the gwt didn't compile the type. Try to add these method in the Service-Class: com.example.chat.shared.Message compileMessage(com.example.chat.shared.Message x); In the ServiceImpl-Class, just return null in the compileMessage method. On 11 Nov., 19:36, Jin Tie wrote: > Hel

[google-appengine] how to access TaskOptions parameters?

2010-10-19 Thread Jonas Gehring
Hello. I'd like to check the TaskOptions parameters within a junit test. There was no getter method to access the parameters so far. But now the app engine 1.3.8 is out and the changelog says: - Fixed an issue where TaskOptions had no public getters, making testing impossible. http://code.go