Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: JPA bidirectional

  1. #1
    Junior Member
    Join Date
    Mar 2014
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default JPA bidirectional

    Hi All,

    I have 3 entities Entity A has one-to-many assoication on Entity B, Entity B has one-to-many association on Entity C and Entity C has many-to-one association with Entity A. When JPA query is fired, i see the query being run for Entiy A and Entity B, but not for Entity C. Can you tell me if i am doing something wrong and is it allowed to do that?

    Thanks


  2. #2
    Super Moderator
    Join Date
    Jun 2013
    Location
    So. Maryland, USA
    Posts
    5,147
    My Mood
    Mellow
    Thanks
    187
    Thanked 660 Times in 647 Posts

    Default Re: JPA bidirectional

    Welcome to the forum! Please read this topic to learn how to post code correctly and other useful info for new members.

Similar Threads

  1. Jsp Jpa
    By msvlife in forum JavaServer Pages: JSP & JSTL
    Replies: 0
    Last Post: January 15th, 2013, 09:58 AM
  2. bidirectional association example, please help
    By me. in forum Object Oriented Programming
    Replies: 1
    Last Post: December 17th, 2012, 01:18 PM
  3. NEED ADVICE AND HELP about JPA
    By addrian in forum What's Wrong With My Code?
    Replies: 0
    Last Post: April 24th, 2012, 02:05 AM
  4. JPA many to many
    By tarkal in forum JDBC & Databases
    Replies: 2
    Last Post: April 22nd, 2012, 09:34 AM
  5. JPA many to one/one to many query
    By molleo in forum JDBC & Databases
    Replies: 0
    Last Post: March 25th, 2012, 06:40 AM