Chad--

Cool--it worked!

> No problemo. Actually the id is created by default if you don't have
one
> specified, it's an option that's on by default
"allowDefaultIdentifiers".
> It probably can't find the type because I'm assuming you don't have
> "datatype.Long" defined in your model do you (that's the default it
uses)?

[Greg] Actually, Poseidon does list "DataType long" in its type list for
attributes.  It also has java.lang.Long.

Those weren't defined in the XMI file it output though, so maybe that's
the problem.

But you were right that once I read in the andromda profile, the XMI
that Poseidon produced was different, and the Hibernate cartridge was
happy.

By the way, the Hibernate cartridge generated my IDs as
java.lang.String, not Long.

Also, in case you ever need to tell anyone how to do this again: in
order for Poseidon to read it, the andromda-profile.xml file must be
renamed with a .xmi extension, and then opened as a project (not
imported).

Perhaps I can find a way for Poseidon to load the andromda profile
automatically.  I'll have to look into that...

In any case, thanks for the help.

> There's an andromda-profile that ships with the distribution that
contains
> all the datatypes etc (like the datatype.Long, if you were using Magic
Draw
> you could import it as a module), however since you're using posiedon
you'll
> need to import it.  Can you try importing this
> andromda-profile-3.0M3-SNAPSHOT.xml.zip file and running again and see
what
> happens?  Yeah you shouldn't be getting stack traces however, I'll fix
that.
> 
> Chad




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
Andromda-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/andromda-user

Reply via email to