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
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
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.
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
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