Thanks for the reply.
We already used both Gilead and Dozer, but unfortunately Hibernate is
not Toplink: we need JPA2.

As regards the transient keyword, as per JPA specs it would apply to
the entity at whole (i.e., the field would not be persisted neither by
JPA).
"You can, however, override a field or property's default persistence
by marking it with the @Transient annotation or the Java keyword
transient."
(taken from http://java.sun.com/developer/technicalArticles/J2EE/jpa/
)

Hence, I'm not sure that the problem is solved...

On 13 Gen, 18:45, Chris Lercher <[email protected]> wrote:
> For Hibernate there's Gilead, which provides an @ServerOnly annotation
> (http://code.google.com/webtoolkit/articles/using_gwt_with_hibernate.html
> ). Maybe there exists a similar solution for TopLink?
>
> Also, have you actually tried the transient keyword? The DevGuide
> (http://code.google.com/webtoolkit/doc/latest/DevGuideServerCommunicat...
> ) says:
>
> "The transient keyword is honored, so values in transient fields are
> not exchanged during RPCs."
>
> This could indicate to gwtc, that it doesn't need to include the
> class, as long as it doesn't get instantiated anywhere in your client
> code.
-- 
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