[hibernate-issues] [Hibernate-JIRA] Resolved: (HHH-4086) improving the performance of the object loading in hibernate
Strong Liu (JIRA)
noreply at atlassian.com
Wed Jun 30 13:28:09 EDT 2010
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-4086?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Strong Liu resolved HHH-4086.
-----------------------------
Resolution: Rejected
> 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
> Original Estimate: 16h
> Remaining Estimate: 16h
>
> _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