Hi Elaine,

You're welcome! Looks like the time on your computer could be off? You're getting a lot of "modified in the future errors". Also it looks like you're using java datatypes in your model, in AndroMDA 3.x we're using language independant datatypes that are mapped to language datatypes (i.e. java), try changing your datatypes to things from the andromda-profile-3.0M2.zip, take a look at the example AnimalQuiz model to see what I mean.

Chad

----- Original Message ----- From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, September 29, 2004 8:08 AM
Subject: Re: [Andromda-user] andromda + hibernate + inheritance



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







-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Andromda-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/andromda-user

Reply via email to