Hi All,

I've got an existing application that I'd really like to retrofit
into Poseidon and Andromda for the next release because there will be
some new heavy EJB development for it. I've got my existing model pretty
much implemented in Poseidon, but I'm having trouble with Andromda on a
few points:-

1) I need BMP (I think), because I have some logic that for example
needs the results of a "select count(*) from ..." and I've yet to work
out how to do that in CMP. Of course, someone might enlighten me :-)

2) A very important thing in my schema is that the primary key of some
tables cannot be an arbitrary ID like in the generated Andromda code.
For example, I have an admin table where the username is the primary key
because it needs to be unique. Anyone got an idea how to go about this
in Andromda?

3) Finally, how do I get Andromda to include extra finders so I can use
comparison EJB-QL like "SELECT OBJECT(o) FROM XxxxEJB o WHERE o.property
<= ?1". In the generated ejb-jar.xml there's a comment about defining
extra finders in an external XML file. Presumably I don't add the
<<FinderMethod>> stereotype in Poseidon in order that Andromda doesn't
try to generate it, but I can't work out where to put my external
finders file. Any pointers?

So far I've found Andromda to be almost excellent, I just need to
overcome these showstoppers and it will be the future for my projects.

Matt

-- 
http://www.mpcontracting.co.uk
Experts in Java development and website design



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Andromda-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/andromda-user

Reply via email to