Wednesday, March 6, 2013

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 names
Thanks 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+unsubscribe@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.
 
 

No comments:

Post a Comment