Discussions

EJB programming & troubleshooting: Creating a single Entity Bean from two DB tables

  1. I would like to know if a single Entity Bean can be generated from two or more database tables. Or is entity bean and tables always have a one to one relationship. I am using Weblogic 7 for deploying EJB.
  2. You can definitely have single Entity Bean from two DB tables using Bean Managed Persistance. I am not sure if it can be done using Container Manager Persistance