-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 17 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: UML2HBM
PostPosted: Thu Feb 23, 2006 11:14 am 
Newbie

Joined: Thu Feb 23, 2006 11:10 am
Posts: 5
Hi,

In one of our projects, we developed a tool that generates hibernate mapping files from uml models.

You may be interested in it.

http://jroller.com/page/unsem?entry=mod ... t_with_ibm

Ünsem


Top
 Profile  
 
 Post subject:
PostPosted: Thu Feb 23, 2006 12:31 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
very interesting - is it open source or something you could think of contributing to the hibernate tools project ?

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject:
PostPosted: Thu Feb 23, 2006 12:39 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
hmmm....where does one get that UML view...the UML2 project seem to only be the core model...

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject:
PostPosted: Thu Feb 23, 2006 4:16 pm 
Newbie

Joined: Thu Feb 23, 2006 11:10 am
Posts: 5
hi max,

it is not open source, and it is not internationalized yet. but i am thinking of making this tool available.

what is the procedure to contirubting the tools project?

max wrote:
very interesting - is it open source or something you could think of contributing to the hibernate tools project ?


Top
 Profile  
 
 Post subject:
PostPosted: Thu Feb 23, 2006 4:19 pm 
Newbie

Joined: Thu Feb 23, 2006 11:10 am
Posts: 5
i couldn't get the point. what do you mean by UML view?

the diagram is a class diagram from a UML2 model. it is a core model with an applied Hibernate profile. profile is installed with the plugin.

max wrote:
hmmm....where does one get that UML view...the UML2 project seem to only be the core model...


Top
 Profile  
 
 Post subject:
PostPosted: Thu Feb 23, 2006 4:27 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
standard procedure is to put it in jira and then we take it from there.

I was just wondering where you got that uml picture from at your blog....until i actually installed UML2 from eclipse i thought that were included in UML2 plugin but can't find it.

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject:
PostPosted: Thu Feb 23, 2006 4:43 pm 
Newbie

Joined: Thu Feb 23, 2006 11:10 am
Posts: 5
i'll think about that.

you need RSA or IBM Rational Modeler.

max wrote:
standard procedure is to put it in jira and then we take it from there.

I was just wondering where you got that uml picture from at your blog....until i actually installed UML2 from eclipse i thought that were included in UML2 plugin but can't find it.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Feb 24, 2006 2:44 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
and they are both "insanely-much-money-for-a-pretty-picture"-software, correct ? :)

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject:
PostPosted: Fri Feb 24, 2006 3:27 am 
Newbie

Joined: Thu Feb 23, 2006 11:10 am
Posts: 5
Well, I don't agree. I can not think of myself without these tools. But it is not the topic of this forum, right?

max wrote:
and they are both "insanely-much-money-for-a-pretty-picture"-software, correct ? :)


I have checked UML2 project again after your question. It doesn't have a visual desginer for UML models.

The plugin uses UML2 metamodel of eclipse. I believe that it may be possible to generate the mappings for those tools that use the UML2 metamodel. Hence broader range including open source would be covered. I need to work on that. Thanks for the insight.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Feb 24, 2006 7:49 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
no no, i were just hoping that there were a visual representation of the uml2 model available which could allow me to click on a class and specify the additional properties...but apparently there is not so hard to use for people who does not have access to RSA or IBM Rational Modeler.

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject: ArgoUML
PostPosted: Wed Mar 01, 2006 7:18 pm 
Newbie

Joined: Wed Mar 01, 2006 7:02 pm
Posts: 3
This is interesting to me, but not clear. I have for years begun all projects with the UML process. Now in my current contract, they are used to creating an RDBMS first and then creating java objects and hibernate mappings via hibernate tools, whereas in my case, I have the class diagram and base code already generated.

I would assume you also have a class diagram in Rational or whatever you use. Why then, would you spend all the time creating a UML2 profile (based on this article I just read: http://www.eclipse.org/uml2/.

Is there not a way to go from an XMI file instead?

Note: I use ArgoUML to generate my class diagrams.
http://argouml.tigris.org/

Brian Burridge


Top
 Profile  
 
 Post subject:
PostPosted: Wed Mar 01, 2006 8:16 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 7:19 pm
Posts: 2364
Location: Brisbane, Australia
Andromda provides a xmi to hbm.xml plugin.
Middlegen has a db to xmi plugin.

There are a few tools in this space but I am unable to provide a guide on the quality of them.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Mar 01, 2006 11:08 pm 
Newbie

Joined: Wed Mar 01, 2006 7:02 pm
Posts: 3
I'm not sure if you are familliar enough with it to answer, but do you know if in the case of Andromda, where does the RDBMS creation come in? Is it created with the hbm.xml, or do you create the RDBMS first, and then use Andromda to map from RDBMS to Object?

Brian


Top
 Profile  
 
 Post subject:
PostPosted: Thu Mar 02, 2006 4:42 am 
Expert
Expert

Joined: Tue Oct 05, 2004 9:45 am
Posts: 263
just starting to use androMDA to generate hbm.xml-Files, DAOs etc. ...
but there's a "schema2xmi-cartridge(?)" which you can use ...
Then open the XMI in your prefered UML-Tool etc.

Biggest problem i've encountered was to learn how to model "right" that andromda generates everything correct ... and sometimes not really good templates (in my opinion). But nothing that cannot be handled.

And everything is either open source or available in a community edition. Perfect for the beginning.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Mar 02, 2006 11:15 am 
Newbie

Joined: Wed Mar 01, 2006 7:02 pm
Posts: 3
I wouldn't want AndroMDA to create my UML for me. I got through the full Rational process resulting in a class diagram that is properly built, and I want to stick with it. But I need to then be able to go from that class diagram to have a db schema and a hibernate mapping between the object and the db.

In the past I have always created the db schema myself. I was just curious if AndroMDA could create the db schema as well as the object mapping.

Brian N. Burridge


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 17 posts ]  Go to page 1, 2  Next

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.