not really

to try to be more explicit :

can I have a domain with an id called ‘my_id’ and a version 'my_version’
and declare the 
id and version as in my example



From: Thomas Broyer 
Sent: Wednesday, March 06, 2013 11:53 AM
To: google-web-toolkit@googlegroups.com 
Subject: Re: RequestFacory Id Version Name

RequestFactory will either use a Locator (which will give the ID and version 
the way you want), or expects to find a pair of methods named getId and 
getVersion on the domain class; all of this repeated for each proxy. Does that 
answer your question? 

On Wednesday, March 6, 2013 11:48:07 AM UTC+1, coelho wrote: 
@Id  @Column(name = "my_id")  @GeneratedValue(strategy = 
GenerationType.IDENTITY)  private Long id;  @Version  @Column(name = 
"my_version")  private Integer version;I’m just wondering if it’s possible to 
use RequestFactory with id and version with differen column namesThanks Patrick 
-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Aucun virus trouvé dans ce message.
Analyse effectuée par AVG - www.avg.fr
Version: 2013.0.2899 / Base de données virale: 2641/6150 - Date: 05/03/2013

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to