Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects versions: None
    • Fix versions: 5.3.0.CR2
    • Components: None
    • Labels:
      None
    • Last commented by a user?:
      true
    • Sprint:

      Description

      In 5.1, the methods on org.hibernate.SharedSessionBuilder defined by SessionBuilder all used override+covariant to define the return as SharedSessionBuilder. As of 5.3 these methods changed to use type parameterization to define the return types (<T extends SharedSessionBuilder>). Apparently this causes binary incompatibility even though both effectively return SharedSessionBuilder. Still waiting on verification that I understand this correctly, as this seems surprising to me. The methods include:

      • #autoClose(boolean)
      • #autoJoinTransactions(boolean)
      • #connection(Connection)
      • #connectionReleaseMode(ConnectionReleaseMode)
      • #flushBeforeCompletion(boolean)
      • #interceptor(Interceptor)
      • #noInterceptor()

        Attachments

          Activity

            People

            • Assignee:
              steve Steve Ebersole
              Reporter:
              steve Steve Ebersole
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: