2008/11/11 Chad Myers <[EMAIL PROTECTED]> > Fabio, > Forgive my misunderstanding then. I do remember you talking about mapping > sources and I didn't understand what you meant, as the code I was looking at > was passing XmlElements around everywhere and it seemed impossible (or > extremely difficult) to decouple the mapping model building from XML. > > Looking at the /trunk code now, I see that XSD.exe-generated schema classes > are being passed around (i.e. HbmClass) which is significantly better, but > still based heavily on an XML source. >
Wrong place... Chad please add me to your GTalk. > > There is a lot of magic and core logic that goes on inside the binders > which would be a very difficult task to duplicate in another "mapping > source." This was my concern. Since almost all the mapping logic and > assembly is in the XML-based (or XSD-generated-XML-schema-class-based) > binders, it's prohibitively difficult for someone to write a new mapping > source. > > I was afraid that adding another "mapping source" would duplicate much of > the functionality in the binders and create TWO definitive mapping sources > which would be chaos to maintain. > > > So, it seems the only proper way to add a new mapping source is to have > this source build up the various "Hbm*" XML-based classes. However, we > still haven't progressed very far from the XML-based model. > Chad please believe me that you don't need create XML. Tonight I will create the first class mapped without use XML. -- Fabio Maulo
