[hibernate-issues] [Hibernate-JIRA] Created: (HHH-4086) improving the performance of the object loading in hibernate
shubha (JIRA)
noreply at atlassian.com
Fri Aug 14 07:18:15 EDT 2009
improving the performance of the object loading in hibernate
------------------------------------------------------------
Key: HHH-4086
URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-4086
Project: Hibernate Core
Issue Type: Task
Components: query-hql
Affects Versions: 3.2.3
Environment: hibernate 3.2.3 ga, oracle
Reporter: shubha
Priority: Critical
_sessions = SessionFactoryUtil.getSessionFactory();
session = _sessions.openSession();
Query query = session.getNamedQuery(queryName);
tx = session.beginTransaction();
results = query.list();
System.out.println(results.size());
tx.commit();
i am trying to get a collection of objects from query.list(). Even though the SQL generated from hibernate runs very fast in oracle, the O/R mapping in case of hibernate is taking lot of time. To fetch around 15 thousand records it takes 8 to 12 minutes. I am using left join fetch on the query
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list