I have a question about how to manage the deletion of a link entry between two entity 
beans without deleting the 2nd entity.

For example I have two entity beans - the first called 'Requirement' the second called 
'UseCase'. A third entity bean called 'RequirementUseCaseLink' acts as a link between 
the previous two entities

I have a CMP relationship field defined for 'Requirement' that exposes the list of 
related use cases.

Like...

    public class Requirement {
        public int getID();
        public String getTitle();
        public Collection getUseCases();
    }

    public class UseCase {
        public int getID();
        public String getTitle();
    }

    public class RequirementUseCaseLink {
        public int getRequirementID();
        public int getUseCaseID();
    }

Question is how do I delete a requirement/use case link without deleting the use case 
entity?


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838081#3838081

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3838081


-------------------------------------------------------
This SF.Net email is sponsored by: GNOME Foundation
Hackers Unite!  GUADEC: The world's #1 Open Source Desktop Event.
GNOME Users and Developers European Conference, 28-30th June in Norway
http://2004/guadec.org
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to