Thursday, October 27, 2016

Re: Unchanged transient field received as null on server using RequestFactory - how to force to send?

 But when RF looks up the current value to compare, it will always be null because the regular lookup doesn't set the transient value.

RF expects a correctly filled entity after loading it from the DB using the entity locator methods (because RF only sends changed data). It's your job to provide a correctly filled entity. You must update your entity locator method to fill the @Transient field or you have to use JPA @PostLoad to "automatically" fill the @Transient field once the entity has been loaded from DB.

Otherwise use a ValueProxy as it does not has a DB identity and thus all values will be send by the client.

-- J.

You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To post to this group, send email to
Visit this group at
For more options, visit

No comments:

Post a Comment