Hi,

Thanks for helping me with xerces.jar I've got all up and running i no time.
I have a question on how to retive objects form my database. It seems that I cans store and remove but how do I query?
For example:

I have a class user, with name and id, say also that I have 3 persons stored in the databse.
way dosen't this work for me?

oql = db.getOQLQuery("SELECT * FROM user");
results = oql.execute();
while(results.hasMore()) {
user ud = (user) results.next();
System.out.println(ud.getName());
}





_________________________________________________________________
Hela veckans v�der http://www.msn.se/vader

----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev

Reply via email to