ORDER BY in CMP 1.0

Discussions

EJB programming & troubleshooting: ORDER BY in CMP 1.0

  1. ORDER BY in CMP 1.0 (3 messages)

    Hi,
    I want to select all records from a table with an entity bean CMP 1.0 which is mapped on this table. How do i get them oredered by a column ?
     How do i simulate ORDER By clause ?

    Thanks,
    Florin

    Threaded Messages (3)

  2. ORDER BY in CMP 1.0[ Go to top ]

    In most cases, you can't, in others it depends on your
    application server / OR Mapper. JBoss JAWS will let you
    'ORDER BY'.

    Regards,

    TK.
  3. ORDER BY in CMP 1.0[ Go to top ]

    I'm working with SilverStream.
    Does anybody knows something about ORDER BY in Silver Stream ?

    Thanks,
    Florin
  4. ORDER BY in CMP 1.0[ Go to top ]

    After retrieving Collection you can sort it.
    See utilities in Apache-Jakarta-Collections: ChainComparator