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