Feature: Support (INNER) Join Queries

XMLWordPrintableJSON

    • Type: New Feature
    • Resolution: Unresolved
    • Priority: Unknown
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Developers can use (INNER) JOIN and JOIN FETCH to query for data using HQL.

      Example: A Student can be linked to multiple Course entities. Fetch a student’s enrolled courses and course rosters

      SELECT s

      FROM Student s

      JOIN FETCH s.courses

      SELECT s

      FROM Student s

      JOIN s.courses

            Assignee:
            Unassigned
            Reporter:
            Ajay Tandon
            None
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: