posted 22 years ago
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