I'm curious as to how folks code their object classes to easily save/get object data from the db. I would like to somehow separate my sql form the class so I could easily make changes to my db structure without mucking with my classes, if that makes sense. I just hate hard-coding my sql statements in my classes, especially if I want to share the code with someone. I don't want to force them to build their db like I do.
Any ideas, I would appreciate any methods that you might offer.
brian