Discussions

EJB design: how to map this relationship int EJB?

  1. how to map this relationship int EJB? (5 messages)

    the relationship in question is

    CLAIMS -------- has -------> BILLS

    And in my model, bills are a part of claims.
    i.e;one claim can have 1..n bills.

    Now, whenever a new CLAIM is raised, I need to capture and store it.During this process I have to store the related BILLs details also..
    For this, I have Claims entity bean, and a bills entity bean.
    But how to handle this from one session- hm... i am asking is there any specific technique for situations like this? or can one entity bean be mapped to 2 tables(they call it coarse-grained i beleive)? using EJB2.0/wls6.1
    'neways, thankx a lot :-)
  2. how to map this relationship int EJB?[ Go to top ]

    It was twenty years ago today...
  3. how to map this relationship int EJB?[ Go to top ]

    I never knew that arrogance does matters in this forum
  4. how to map this relationship int EJB?[ Go to top ]

    Arrogance? What are you talking about?

    "It was twenty years ago today..." is a line from "Sgt Pepper".

  5. how to map this relationship int EJB?[ Go to top ]

    Hi friend... sorry if I've misunderstood you.!

    I thought you were one of the arrogant programmers, who are not interested in sharing ideas.....

    So, let me introduce to you....
    the sgt. peppers lonely heart club baaand......
    cheers...
  6. how to map this relationship int EJB?[ Go to top ]

    Look up Agregate or Depenedent Value Object J2EE patterns.

    Pranab