Hi,

Sorry for inturrupting this thread, I'm a new to web development and a very 
junior GWT one, so sorry in advanced for every mistake.

I'm implementing these days a GWT application from scratch, the data scope 
is assembled with Hibernate,Oracle and baking it with the RequestFactory 
mechanism, using the DynaTableRf, Expenses and listwidget projects as 
reference for my work.

All three projects use 'Version' as field in their database. I wouldn't mind 
adding this version field unless I was inherited the project's data 
structures (pojos etc...).
I read carefully the updated version of Getting Started With 
RequestFactory<http://code.google.com/webtoolkit/doc/trunk/DevGuideRequestFactory.html>
 and 
many other threads like this, but couln't understand how can I use properly 
the request factory without having this version field.

The document mentioned that my extended Locator should/can contain the 
method: Object getVersion(T domainObject), however, by the samples projects 
and by method's signature, the implementation should be something like:
public Object getVersion(DatastoreObject domainObject)
{
return domainObject.getVersion();
}

the problem is that I cannot see anyway how my domainObject contains version 
number (without having this field in the database). was trying @Transient 
and base class as in listwidget project but with no help.

Will be very happy for any answer or example of how using the Locator for 
bypass implementation of getVersion in the Entity it self.


 Thanks in advanced,
Ido



-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to