Hibernate version:
3.1.2
Hi, I´m having performance problems in the application, after using a profiler, I find out that it always has to do with CriteriaQuery.list (also when getting a property of a mapped class).
Googling I found that Criteria is less performant than HQL, but I have widely spread Criterias in the system, and the queries are not simple. Thats why I need something to get HQL from a Criteria.
If someone thinks my problem can be anything else? I´ll be thankfull to hear about it.
Thanks.
Mamana from Argentina
|