Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects versions: None
    • Fix versions: None
    • Components: hibernate-core
    • Labels:
      None
    • Last commented by a user?:
      true
    • Sprint:

      Description

      The current on-clause stuff for HQL is really a bit of a misnomer. Its really more of a "filter", as it simply appends additional join criteria to the join's on-clause.

      Want to add the ability to actually fully define the on clause. This has two uses:
      1) allow users to fully override the join on clause for mapped associations to be whatever they want. This, like the current stuff, needs to be disallowed where fecthing is enabled.
      2) allow truly ad-hoc joins (where there is no mapped association between entities).

      The current functionality associated with the ON keyword should be moved to a new keyword FILTER. This then continues to append extra criteria to a mapped association join.

      Then processing for the ON keyword needs to completely (re-)define the sql on clause.

        Attachments

          Issue links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: