--- Bruno_Su�rez_Laffargue
<[EMAIL PROTECTED]> wrote:
---------------------------------
OK! I've got it.
-- Cool!
But i've seen some big differences with my method and
the animal-quizone (DecisionItem.findRoot()).
As i've said in an earlier mail, in animal-quiz, the
finder method hasno stereotype. More over, this method
does not return any value type.
-- It does have the <<FinderMethod>> stereotyped, I
just opened the model and took a look...are you
viewing it with Magic Draw 7.5?
In my study model, when i didn't put the stereotype i
did not get thefinder implementation on the
objectFactory.
If i didn't put the return value i get the folowing
error:
-- If you didn't put the return value on what?
java:77: cannot resolve symbol
symbol : class $returntype
public static $returntype findByNombre
(net.sf.hibernate.Sessionsession, java.lang.String
nombre) (it's a findByName method, nombre inspanish)
but everything goes well with a Collection return
value:<<FinderMethod>>+findByNombre( nombre :
datatype::String ): datatype::Collection
Un saludo
Bruno
Chad Brandon wrote:
Hi Bruno,You'll need to add the
andromda-query-library*.jar to your classpath (ifant)
or as a dependency if Maven. AndroMDA should tell
you its found the"query" library when you run
it.Chad----- Original Message ----- From: "Bruno S.L."
<[EMAIL PROTECTED]>To:
<[EMAIL PROTECTED]>Sent: Wednesday,
June 30, 2004 3:02 AMSubject: [Andromda-user] OCL
Problem
I have a problem with an OCL parsing. AndroMDA told me
that it can'tfind "query.Hibernate-QL".I think that my
problem is with the translation library.I don't know
if I have to generate my own one or if the one given
withandroMDA should do the thing.I don't know if
there's some variable that i haven't set...I've tried
generating translation libraries into my project and
copyingcontents of androMDA tranlation libraries...
but I don't know where Ishould generate it exactly,
because AndroMDA always replies with thesame
message... i've tried everywhere ;-)My model is just
like animal.quiz one. And doing it like this
sample...it does not run for me. First, in animal-quiz
sample, theDecisionItem.findRoot() method is not
steriotyped lik a finder method.It does not return any
value type... Animal-quiz sample compiles... mymodel
doesn't. AndroMDA says to me that $returnType expected
(somethinglike that). I've seen that return type is
defined in OCL... but it stillnot running.I've found
this message
http://www.mail-archive.com/[EMAIL PROTECTED]/msg01608.html
and i've done everything it's said... but ... but...
:'(I'm sure it's a nonsense... but I'm lost. I'm
getting sick aboutCan someone please help me... every
idea is wellcomeThanks
-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Andromda-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/andromda-user