From: Ampie B. <amp...@mw...> - 2002-10-26 03:15:59
|
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 |