Hi,
I'm running a query to fetch some 100 records from the database. The Database is SQL Server 2008. When I'm running the query from the MS SQL Management Studio it is returning the correct result set. But when I'm running it thru hibernate the result set is different.
I have tried to print the query and the query is being printed exactly as what I want it to be. Still the result set is different when I iterate thru the list and print it.
Also I have checked that the my code is connecting to the correct data base.
Any idea if hibernate does some kind of caching issues ? Has anybody faced this kind of problem before ? Any help would be appreciated.
Regards, Ank
|