Hi
I have 6000 records in one table T1 and 2000 records in table T2... OK
So I have a few scenarios now:
1.a When i am retrieving 100 records from the table T1 using only JDBC, the query execution takes
Quote:
0ms
.
1.b When i am retrieving 100 records from the table T1 using only Hiberanete, the query execution takes
Quote:
16ms
.
----------------------------------------------------------------------
2.a When i am running a join on T1 and T2 from the T1 using only JDBC, the query execution takes
Quote:
46391ms
.
2.b When i am running a join on T1 and T2 from the T1 using only Hibernate, the query execution takes
Quote:
16ms
.
----------------------------------------------------------------------
3.a When i am inserting 100 records, using a for loop, in table T1 using only JDBC, the query execution takes
Quote:
78ms
.
4.a When i am inserting 100 records, using a for loop, in table T1 using only Hibernate, the query execution takes
Quote:
797ms
.
-----------------------------------------------------------------------
I would like to know
why Hibernate shows such irregular responses??????
Thanks............