OpenJPA
  1. OpenJPA
  2. OPENJPA-1052 OpenJPA 2.0 iteration 7 primary task
  3. OPENJPA-1069

OrderBy annotation applied to an element collection of basic type doesn't require property or field name

    Details

    • Type: Sub-task Sub-task
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.0-M2
    • Component/s: None
    • Labels:
      None

      Activity

      Transition Time In Source Status Execution Times Last Executer Last Execution Date
      Open Open Resolved Resolved
      9h 39m 1 Fay Wang 07/May/09 16:04
      Resolved Resolved Reopened Reopened
      13d 1h 32m 1 Fay Wang 20/May/09 17:37
      Reopened Reopened Resolved Resolved
      22h 6m 1 Fay Wang 21/May/09 15:43
      Resolved Resolved Closed Closed
      292d 2h 47m 1 Donald Woods 09/Mar/10 18:31
      Donald Woods made changes -
      Status Resolved [ 5 ] Closed [ 6 ]
      Hide
      Thomas O Rowe added a comment -

      Re-verified on Linux AMD64 w/ IBM SE6.

      Show
      Thomas O Rowe added a comment - Re-verified on Linux AMD64 w/ IBM SE6.
      Fay Wang made changes -
      Status Reopened [ 4 ] Resolved [ 5 ]
      Resolution Fixed [ 1 ]
      Fay Wang made changes -
      Resolution Fixed [ 1 ]
      Status Resolved [ 5 ] Reopened [ 4 ]
      Hide
      Fay Wang added a comment -

      (1) Add support for
      @ElementCollection
      @OrderBy("DESC")
      private Collection<String> nickNames = new ArrayList<String>();

      (2) throw exception for
      @ElementCollection
      @OrderBy
      Collection<Address> addrs = new ArrayList<Address>();

      When the element of the collection is an embeddable, the property or field name must be specified in the orderBy item.

      Show
      Fay Wang added a comment - (1) Add support for @ElementCollection @OrderBy("DESC") private Collection<String> nickNames = new ArrayList<String>(); (2) throw exception for @ElementCollection @OrderBy Collection<Address> addrs = new ArrayList<Address>(); When the element of the collection is an embeddable, the property or field name must be specified in the orderBy item.
      Fay Wang made changes -
      Field Original Value New Value
      Status Open [ 1 ] Resolved [ 5 ]
      Fix Version/s 2.0.0 [ 12313483 ]
      Resolution Fixed [ 1 ]
      Fay Wang created issue -

        People

        • Assignee:
          Fay Wang
          Reporter:
          Fay Wang
        • Votes:
          0 Vote for this issue
          Watchers:
          0 Start watching this issue

          Dates

          • Created:
            Updated:
            Resolved:

            Development