From: Gavin K. <ga...@ap...> - 2002-10-26 05:20:13
|
Yeah that would be cool. I think with the new *Metadata interfaces its also quite easily doable. I don't know much about xmi myself but if you do, I think you would be able to implement this quite straightforwardly.... ----- Original Message ----- From: "Ampie Barnard" <amp...@mw...> To: <hib...@li...> Sent: Saturday, October 26, 2002 1:23 PM Subject: [Hibernate] Hibernate2UML > Just a thought > > Currently Hibernate allows me to generate java code and db schemas from my > mapping file. It would be great if I could generate a UML class diagram (in > the form an xmi file ) from my mapping file. The mapping file is already > rich in UML concepts like composition, aggregation, association, keyed and > ordered relationships. Yet another indication how well Hibernate sticks to > the OO paradigm! > > Personally my class diagrams seldom go into more detail than my persistence > model, but I do find that as we approach the deadline of a project, even > these diagrams get out of sync with my code and the db. And then after that > I have the business analysts on my back asking all sorts of silly questions, > which they could answer for themselves if they understood my Hibernate > mapping file, which will never get out of sync with my db and code. > > Ampie > > > > ------------------------------------------------------- > This sf.net email is sponsored by: Influence the future > of Java(TM) technology. Join the Java Community > Process(SM) (JCP(SM)) program now. > http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en > _______________________________________________ > hibernate-devel mailing list > hib...@li... > https://lists.sourceforge.net/lists/listinfo/hibernate-devel |