Uploaded image for project: 'Torque'
  1. Torque
  2. TORQUE-328

Use builder pattern throughout criteria

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 4.0
    • 5.0
    • Runtime
    • None

    Description

      Currently, most of Criteria's modifying methods return this as result and thus Criteria can be used like a builder.
      However, some public methods (setDistinct, setAll, setDbName, setFetchSize) do not return anything.
      These methods should return Criteria to allow easier usage.

      Attachments

        Activity

          People

            tfischer Thomas Fox
            tfischer Thomas Fox
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: