| Author |
Hibernate:Trying to emunate select * from my_table where ID in ('MOSU0002','MOSU0003') in Hibernate
|
Sudhakar Duraiswamy
Ranch Hand
Joined: Dec 20, 2007
Posts: 43
|
|
Hi All,
I am trying to emulate the following query in Hibernate
Sql Query
Result:
But the issue is when i try this with Hibernate
HQl:
Result
Issue: It fetches the same row twice .
Why is this anamoly ...................
Could any one post the solution
|
Sudhakar
SCJP 5.0 93%| SCWCD (prep. ongoing))
|
 |
 |
|
|
subject: Hibernate:Trying to emunate select * from my_table where ID in ('MOSU0002','MOSU0003') in Hibernate
|
|
|