Win a copy of 97 Things Every Java Programmer Should Know this week in the Java in General forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
  • Piet Souris
  • salvin francis
  • fred rosenberger

UML Class Diagrams

Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I intend to make class diagrams for an existing database set up.I have RAD 6 as an IDE/tool. Any pointers for the above situation?
Posts: 2968
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
1.) Tables aren't classes. If you are simply looking for a for a UML profile for representing databases then have a look at A UML Profile for Data Modeling.

2.) The existing entity-relationship model is not a good foundation for the creation of an object model. Some tools do this type of conversion because people keep asking for it. Existance of these tools should not be construed as endorsement towards a best practice because it isn't. Useful tools help you map between an existing relational model and an existing object model. Both models serve different purposes and need the freedom to evolve separately. See why:

Agile Data: Object Relational Impedance Mismatch
Agile Data: Mapping Objects to Relational Databases: O/R Mapping In Detail
Agile Data: Introduction to Object-Orientation and the UML

See also: Oo Patterns Uml Refactoring Faq: Design
[ April 29, 2008: Message edited by: Peer Reynders ]
Posts: 14112
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What Peer said!
Are you okay? You look a little big. Maybe this tiny ad will help:
Devious Experiments for a Truly Passive Greenhouse!
    Bookmark Topic Watch Topic
  • New Topic