@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
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
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
Column names are irrelevant and can have any name as long as you have
getters named getId() and getVersion(). If your getters have different
names then you have to use a Locator.
-- J.
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To
As I expected but was not sure
Thanks
Patrick
From: Jens
Sent: Wednesday, March 06, 2013 12:13 PM
To: google-web-toolkit@googlegroups.com
Subject: Re: RequestFacory Id Version Name
Column names are irrelevant and can have any name as long as you have getters
named getId() and getVersion