on 11/27/2000 2:08 PM, "Julien Giovannnoni" <[EMAIL PROTECTED]>
wrote:

> Criteria c =  new Criteria();
> c.add(TurbineUserPeer.USERID, visitor_id);
> Vector v = TurbineUserPeer.doSelect(c);
> TurbineUser u= (TurbineUser) v.elementAt(0);
> String password = u.getPassword();

that should pretty much do it.

what error are you getting?

you should have more error checking code to make sure that you are getting a
result back from the Vector...ie if (v.size() > 0)

:-)

-jon

-- 
twice of not very much is still a lot more than not very much



------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to