• 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
  • Liutauras Vilda
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Scott Selikoff
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
  • Frits Walraven
Bartenders:
  • Stephan van Hulst
  • Carey Brown

Custom Finder In Websphere v3.5

 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
Can any one help me to solve the below two problems in custom finder methods in WAS,
1. I want to specify the where clause query with two conditions, for eg.
Where T1.Value1=? and T1.Value2=?
say my table is having composite primary key, what will be the solution.
2. In ordinary custom finder to get all possible values I had given the condition like this
Where 1=1, which is fetching all beans as enumeration, but I want that enumeration in some specific order
for e.g like this "where 1=1 order by Customer_ID"
i had given like that but again my enumeration is having values in the actual order as in my table.
Thanks in advance
 
She's out of the country right now, toppling an unauthorized dictatorship. Please leave a message with this tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic