ok, I resolved the previous problem, paying more attention to MagicDraw and the 
way it works with association.

Now, when I run my project I have this problem in output:



Problem managing Room: invalid value 'mansion', possible values are: 
[APPARTAMENT, VILLA, MANSION]



and if I try to create a row I get in output:



Problem managing Home: (Hibernate operation): data integrity violated by SQL '; 
nested exception is java.sql.SQLException: Unique constraint violation: 
SYS_CT_1 in statement [insert into HOME (STYLE, NAME, DESCRIPTION, CONSTRUCTED, 
ID) values (?, ?, ?, ?, null)]



I am going to exaplain the steps:

1) I modell like in CRUD's example two  <<manageable>> <<entity>> classes named 
"Home" and "Room" and <<enumeration>> class "HomeType".

2)I call "maven create-schema"

3)I call "maven"

and all would seem correct...



-would I like to know if until now these steps are correct?

-what is the next step?

-Do I need modify something, and where?

-Why do I get that errors in output?



thanks for your suggestions
_________________________________________________________
Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=1130#1130
Posting to http://forum.andromda.org/ is preferred over posting to the mailing 
list!


-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
_______________________________________________
Andromda-user mailing list
Andromda-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/andromda-user

Reply via email to