On Thursday, January 12, 2012 3:24:38 PM UTC+1, Tapomay Dey wrote:
>
> Hi,
> I am using following code.
>
> Note:
> request is of type ? extends RequestContext
> entity is of type ? extends EntityProxy
>
> (request).persist().using(entity).fire(
> new Receiver() {
> @Override
> public
in
request is of type ? extends RequestContext
add your own persist method that returns the newly created entity instead
of void. The you receive it using Receiver instead of
Receiver
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
Hi,
I am using following code.
Note:
request is of type ? extends RequestContext
entity is of type ? extends EntityProxy
(request).persist().using(entity).fire(
new Receiver() {
@Override
public void onSuccess(Void unUsed) {
I need the entity ID generated in the DB here.
If I do entit