• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

Finding Entity Object in Order...... Help Needed

 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,
In My custom finder I am trying to find entities based on some criteria. I want to order by clause in my where condition that I am specifying in finderhelper class, though I am specifying order by clause in where condition, my enumeration contains the objects in the same order in which it is present in Database.
Can any body help me out.....
My Custom findby static variable in FinderHelperClass is as follows...

public static final String findAllServicesQueryString = "SELECT * FROM CUSTOMER T1 WHERE 1 = 1 order by T1.SEQUENCENO"
Thanks in Advance
 
author
Posts: 3892
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What version of WebSphere are you using, WebSphere 4.0 or 3.5?
Kyle
 
Meyyappan Meyyappan
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
was v3.5
 
There's a city wid manhunt for this tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic