This week's book giveaway is in the Other Open Source APIs forum. We're giving away four copies of Storm Applied and have Sean Allen, Peter Pathirana & Matthew Jankowski on-line! See this thread for details.
hey Guys i am developing a javaee. aplication i am using hibernate..
i am facing a extrange problem.. i am testing my code on a Java desktop application for testing before moving the code for the servlets..
this code. is doing the job on Count: 1456ms.. fetching 10814 records.. on a Normal java class NOT a servlet.
the results are correct. but when i run this routine on a servlet. is running extremly slow.
giving the next. results... (the fetch is 10814 records, with the exactly same parameters..).
and i am running the routine at least 5 times. consecutives giving the same results..
the results on the servlet. Time: 8923ms..10814 Records..
what this is happening. 1456 ms. vs. 8923ms. is weird.
this is driving me nuts.. please give with some tips..
thanks a lot best regards..
i am running the java ee aplication on localhost.. only that process.. at the time.. that's very weird i have 10 hours trying to find out the problem without success..
Cristian Daniel Ortiz Cuellar
Joined: Feb 02, 2011
Hebert Coelho wrote:Is there any other queries running when you start you app?
i have found a drawback. but still without solution the same code with the same parameters running on the normal java class. is returning the columns without fetch. that's why it's fast. but in the servlet. is returning the data as well.. why is this happening... that's why is so slow..
Images of LogFactor5.