Hi all,
I have the following problem: I've built a Find method which returns
a "pure" Collection of Strings: the Collection is built in this way:
Collection FindElements() {
.........
Collection vec = new Vector();
vec.add(resultSet.getString(1));
vec.add(resultSet.getString(2));
.......
return vec;
}
The problem is, when I try to browse the Collection on the client side,
I cannot cast back to String because the object inside the Collection
becomes a stub! at least that's what I got If I try to do a getClass()
with the elements of the Collection.
So it's not at all possible to return "pure" Collections, whose
elements are Strings, Integer ? do I need at any cost to return PK objects?
thanks a lot
Francesco
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".