0 Replies Latest reply on Sep 3, 2009 6:26 AM by Lotfi Mellouk

    Anormal use for CPU on hibernate queries

    Lotfi Mellouk Master

      Hi all,
      I have a performance problem, I don't where it comes, Im using hibernate, spring on JSF/richfaces web apps, when the user log on, I have to load many lists of objects, about 6 queries like:

       getHibernateTemplate().find("from Status order by name");
       getHibernateTemplate().find("from Company order by name");

      Im not using lazy loading, when queries are called the CPU climb to 98%, don't kow if it's a server problem configuration or hibernate problem.

      Server CPU: Intel(R) Xeon(R) CPU X5365 @ 3.00GHz

      thanks by advance!