Re: storing class in mysql
The advantage of storing information in a relation database such as MySQL is for the information to be relational (google 'database normalization' for more information). Storing objects (or full string representations of those object) somewhat defeats that purpose. I would suggest you create a schema that best represents the information you want to store, then map that information it to the appropriate interface(es) and class(es). My .02. And for what its worth, I could barely read your question given the amount of spelling and grammar mistakes. Recommend you use a spellchecker, a better translator (if you are using one), or simply spend more time writing legibly.