[b]Hibernate version:3.0.5
I have been executing a test for a method testLoad() that loads 500 records from the database table having 120,000 records. When then test starts it runs the same testLoad() for about 10 times, but each time the testLoad() runs, it ensures that it creates a new Session objects and it runs the query, it always returns DIFFERENT 500 records.
Now when I start the test, the time take by the testLoad() for the first time, it takes the around three times of the time taken by the subsequent 9 runs.
Can anyone tell me what possible could be the reason ?
Thanks a ton,
Amit Chhajed
|