[hibernate-issues] [Hibernate-JIRA] Closed: (HHH-1051) "Compiled" native SQL queries are not cached

Steve Ebersole (JIRA) noreply at atlassian.com
Mon Mar 21 13:00:54 EDT 2011


     [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-1051?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steve Ebersole closed HHH-1051.
-------------------------------


Closing stale resolved issues

> "Compiled" native SQL queries are not cached
> --------------------------------------------
>
>                 Key: HHH-1051
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-1051
>             Project: Hibernate Core
>          Issue Type: Improvement
>          Components: core
>    Affects Versions: 3.0 alpha
>            Reporter: Gavin King
>            Assignee: Steve Ebersole
>            Priority: Minor
>             Fix For: 3.1 rc3
>
>
> Currently, a new SQLLoader is instantiated every time we execute a SQL query. This means we re-parse the SQL string many times.
> We should cache the loader at the SessionFactory level, since it is threadsafe.

-- 
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