The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

franck.de.bruijn (1) [Avatar] Offline
#1
Hi,

First of all I'd like to thank you for this great book. It's one of the best books I read lately. I put it beside the Effective Java book of Joshua Bloch (the current nr. 2) in my 'personal bests' ratings.

Scott Ambler has defined an unofficial way of modeling data models in UML (http://www.agiledata.org/essays/umlDataModelingProfile.html). In your book you also use a certain UML definition (especially stereotypes), but it's not totally worked out.

Currently I am working on a function description in which I want to put the domain model as central focus point and for that I am using UML. I was wondering if you have defined a certain UML 'extension' to model all sorts of quirks of Hibernate, like entities versus components, sets versus lists versus bags, user types, whatever.

It would be great if you already have it in place, since I could use it immediately. Otherwise I will have to develop something myself 'on the fly' ... Which will be more difficult to 'sell' towards my colleagues which are ever sceptic ... smilie

A particular question that I have is how to model a single component (like address for a user) for an entity, but the storage should be in a separate table. On the other hand you might discuss whether it is useful/acceptable to present this level of detail in a (functional) diagram ... since it very much relates to implementation. I am curious how you think about this.

By the way: I am not looking for code generators and stuff like that. The typing work compared to the thinking work is negligible. I don't believe in the round-trip-engineering hype (isn't it fading away???)

Thanks in advance,
Franck