You are viewing a plain text version of this content. The canonical link for it is here.
Posted to torque-user@db.apache.org by Amine Bousta <ab...@lxsolutions.com> on 2003/10/01 18:33:58 UTC

Pb with casting Records of a List

Hello,
 
I'm new in this mailing list. I have pbs with acessing to the archive of
this list so I'm really sorry if this question have already been
posted...
 
Here's my pb : I have Torque 3.1
When I invoke the doSelect method from a Peer, the generated List works
fine.
But when I do FooPeer.executeQuery("select * from foo"); it returns to
me a List that looks correct with a good size and objects containing the
good values.
But the thing is that record objects can't be casted.
(Foo)(list.get(0)); doesn't work here but it works with a doSelect.
 
Did that happen to anybody else?...
 
Regards
Amine