Hi,
It means that you can pass Hibernate entities around instead of ids.
Example:
void onActivate(Long id) { User user = session.get(User.class, id); }
Long onPassivate() { return user.getId(); }
becomes
void onActivate(User user) { ... }
User onPassivate() { return user; }
And so forth. Of course this only works if you actually use
tapestry-hibernate. :)
-Filip
On 2008-03-16 07:14, Angelo Chen wrote:
Hi,
In Howard's blog, he mentioend:
Automatic Hibernate ValueEncoders: Use an entity as a page or event context
and what goes in the URL is the entity's id. Likewise, ids are turned back
into entities when passed to event handler methods.
What's really this? how to use it? Thanks.
A.C.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]