Discussions

EJB programming & troubleshooting: How to specify the order By Clause in the weblogic server 5.1 ??

  1. Hi,

    I am using Weblogic Server 5.1...

    I want to retrieve rows from SQL Server in specific order using CMP Entity Bean. ie ( I want to specify order by clause in finder methods )..

    Can someone lemme know how to do it ??

    Thanks in advance...

    Ganesh
  2. Weblogic used to support orderBy WLQL operator in 4.5 but it's missing in 5.1 ;-(

    You can use BMP or sort results by yourself.
  3. As it turned out orderBy is supported by WLS 5.1, but for some musterious reason documentation says it is not.