阅读背景:

Hibernate Criteria.list()需要很长时间才能进行非常简单的查询

来源:互联网 

One of the applications that I'm looking after has this piece of code which is taking ~20,000 ms to execute. This is really hampering the performance of the Website. Is this because of a Criteria.list? Here's the code that's responsible for the slowness. I have a Sample DB table where I am trying to retrieve all the values in the table. How can I improve the performance of this query? I'm using a SQL server as my database. One of the applications that I'm looking after




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: