--- One Ovthafew <[EMAIL PROTECTED]> wrote: > > We havn't actually had much discussion of middlegen > on > this list (though it has come up a couple of times). > This > recent burst of activity is mainly in response to > the > thinking Max has been doing recently and I'm just > kinda > following up on his ideas. > > I'd particularly like to know what Konstantin thinks > about this stuff, since he is the one currently > working > on the Hibernate XDoclet module and perhaps he has > the > best idea of what its capabilities will be in the > near > future.
IMHO, both approaches are legitimate. Middlegen is focused on generating xdoclet marked source files. (Though it can generate almost everything else). Having xdoclet marked java source files has its advantages - xdoclet is not only for mappings, I'm also using it to generate BeanInfo and externalized properties out of my data model classes. I consider hibernate module already usefull, but short of composite IDs ( have still to figure out myself what to generate , and what tags to use - but this is on hibernate message board ) This will be implemented soon. What else? > Now something that occurred to me today is that > *whichever* way we go, either Middlegen template or > Codegenerator, it would be helpful for the generated > source to contain XDoclet tags. (Currently > CodeGenerator > does NOT generate them.) > > However, I am still currently in favor of > simplifying > things to: > > > >>>>>>>XDoclet>>>>>> >>>SchemaExport>>>> > java + @tags hbm.xml SQL DDL > <<<CodeGenerator<<<< <<<<<Middlegen<<<<< > Looks nice... regards, ===== Konstantin Priblouda ( ko5tik ) Freelance Software developer < http://www.pribluda.de > < play java games -> http://www.yook.de > < render charts online -> http://www.pribluda.de/povray/ > __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ hibernate-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/hibernate-devel