is there a possibility to extend the hibernate-STK with the FuGEFlow.mdzip?
By now I imported the SNAPSHOT jars (hibernate-core, hibernate-common...) generated by maven in my Eclipse workspace, because I am currently developing a web application for flow cytometry analyisis with wicket and hibernate as persistence layer.
So I installed the fuge-hibernate-stk and everything worked fine. Then I tried to integrate FuGEFlow:
1. I downloaded FuGE-v1-profile.mdzip and FuGEFlow.mdzip from http://flowcyt.svn.sourceforge.net/viewvc/flowcyt/FuGEFlow/model/
2. I exported FuGEFlow.mdzip as EMF UML2(v1.x) XMI in MagicDraw 15.0 into fuge-hibernate-mda/src/main/uml
3. I changed the path in the fuge-hibernate-mda/pom.xml to FuGEFlow.uml2
4. mvn clean and afterwards mvn install
An error in the validation of the andromda model occured, you can find the log file in the attachment.
Do you suggest any other solution?
Is it possible for example, to generate Java Classes plus the hibernate configuration and mapping files from the FlowCyt XML schema files with hyperJaxB?
Kind regards,
Simon
-- Josef Spidlen, Ph.D. Terry Fox Laboratory, BC Cancer Agency 675 West 10th Avenue, V5Z 1L3 Vancouver, BC, Canada Tel: +1 (604) 675-8000 x 7755 http://www.terryfoxlab.ca/people/rbrinkman/josef.aspx
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Fuge-devel mailing list
Fuge-...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fuge-devel
Hi Simon,
I didn’t have a chance to look through your log file yet but based on Josef’s answer I think I can respond. I recall when developing the FuGE hibernate STK there was a problem with 1:1 associations that were not composite or aggregate (closed or open diamonds), because the processing software did not know in which direction to build the association (for foreign keys for the SQL perhaps) - even though the arrow should give this away. I think my solution was to add aggregations (open diamond) on the non-arrow end of the association, since these don’t affect the generation of anything else. I’m sure there will be other work-arounds if you don’t want to alter the UML,
Cheers
Andy