On Mon, Jul 14, 2014 at 12:53 PM, sorinev <sori...@gmail.com> wrote:

> Ok, that was simple enough (running in Jetty for debug purposes). It shows
> the objects as:
>
> /contactList = {java.util.ArrayList@3397} size = 4/
>
> and then each element in the list is shown as
>
> /java.lang.Object/
>
> So I guess I need to get some converting going on for the list and/or it's
> elements. How do I go about doing that?
>

Consult with your Hibernate books ;-)

First thing I'd try is to use the API with Class as second parameter,
something like: query("select * from blah", Contact.class)


>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/item-getModelObject-result-cannot-be-cast-to-tp4666598p4666602.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

Reply via email to