This discussion is archived
1 Reply Latest reply: Nov 11, 2013 1:12 AM by gimbal2 RSS

JPA with 3 tables

972653 Newbie
Currently Being Moderated

I have 2 tables on 1 database
Table A, Table B

I need to evaluate a query by joining these 2 tables and then update the results in the 3rd table in another database
I need to use stateless session bean using JPA

I believe I need 3 Entities for each of the tables here. Please guide some architecture for this problem
I am new to EJBs

  • 1. Re: JPA with 3 tables
    gimbal2 Guru
    Currently Being Moderated

    972653 wrote:


    I am new to EJBs

    So study. Not knowing is not a reason to go ask in a forum how to do it. You get a book and you read, then you experiment and you rinse and repeat until you understand and can reproduce the results on your own. If within that process of making effort yourself to get this done you get horribly stuck, THEN ask for help.


  • Correct Answers - 10 points
  • Helpful Answers - 5 points