On Tue, 18 Mar 2014 02:50:36 -0300, Andreas Ernst <a...@ae-online.de> wrote:
The easiest way is to create a entity class from a sql view. Or you can
try this:
http://wiki.apache.org/tapestry/Tapestry5HowtoSelectWithObjects
Please do *not* use that (the code in that page). The approach is very bad
and I explain why in that page, so I won't repeat it here. Do the right
thing: write a ValueEncoder for your class (if it's a Hibernate entity,
tapestry-hiberate does that for you automatically) and pass it to the
Select's encoder parameter.
--
Thiago H. de Paula Figueiredo
Tapestry, Java and Hibernate consultant and developer
http://machina.com.br
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org