Thanks for the reply!! I migrated from AndroMDA 2.1.2 to 3.0M2 because i need to implement inheritance. I'm trying to use ant (i followed instructions from team.andromda.org to create a new application). So, i placed my model.xmi into $andromda-home/ant/my-project/mda/src/uml (as required) and tried to run "ant" from $andromda-home/ant/myproject. There were many strange errors when the .java files were compiled. The stacktrace.txt file (in attachment) shows these errors. My model is very simple:
class User (Stereotype Entity) id:String (PrimaryKey) name:String age:int class Teacher extends User (Stereotype Entity) id:String (PrimaryKey) active:boolean class Student extends User (Stereotype Entity) id:String (PrimaryKey) team:String What could be wrong?? Many thanks! Elaine. Em 28 Sep 2004, Chad Brandon escreveu: >Not sure if AndroMDA 2.1.2 hibernate templates support inheritance, but I >know 3.x does. > >Chad > >----- Original Message ----- >From: >To: >Sent: Tuesday, September 28, 2004 1:04 PM >Subject: [Andromda-user] andromda + hibernate + inheritance > >> Hi Hibernate users, >> >> I am using AndroMDA2.1.2, Hibernate 2.1.4 and PoseidonCE 2.1.0. >> I created three classes in a UML diagram (Poseidon): User, Student and >> Teacher. Now, i want Student and Teacher be subclasses from User. >> Inheritance is possible with these versions of programs? I tried to create >> a >> generalization between the superclass (User) and the subclasses (Student >> and >> Teacher), but no association is generated (error messages are not >> displayed >> too). The .java files do not contain @hibernate.subclass ... >> >> What could i do to generate this inheritance? >> >> I appreciate any help! >> >> Thanks in advance! >> >> >_________________________________________________________________________________ >> Quer mais velocidade? >> Só com o acesso Aditivado iG, a velocidade que você quer na hora que você >> precisa. >> Clique aqui: http://www.acessoaditivado.ig.com.br >> >> > >---------- _________________________________________________________________________________ Quer mais velocidade? Só com o acesso Aditivado iG, a velocidade que você quer na hora que você precisa. Clique aqui: http://www.acessoaditivado.ig.com.br
--- Begin Message ---
--- End Message ---