Issue Details (XML | Word | Printable)

Key: HHH-2193
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Steve Ebersole
Reporter: Emmanuel Bernard
Votes: 0
Watchers: 2
Operations

If you were logged in you would be able to see more operations.
Hibernate Core

Introduce a flag to avoid checking NamedQuery at startup

Created: 27/Oct/06 04:57 PM   Updated: 14/Jan/09 01:57 PM
Component/s: core
Affects Version/s: None
Fix Version/s: 3.2.2

Time Tracking:
Not Specified

Issue Links:
Relates
 


 Description  « Hide
With the ratio of 1 query out of 60 entities (60 entities and 10 named queries), checking the named queries at startup takes 7% (specifically the HQLQueryPlan creation).
I imagine that one want to avoid the overhead while doing unit tests

 All   Comments   Work Log   Change History   FishEye      Sort Order: Ascending order - Click to sort in descending order
Steve Ebersole added a comment - 17/Nov/06 04:16 PM
added Environment.QUERY_STARTUP_CHECKING :
hibernate.query.startup_check true/false

Mike Hoeffner added a comment - 14/Jan/09 01:57 PM
This flag doesn't appear to be documented yet based on http://www.hibernate.org/hib_docs/v3/reference/en-US/html/configuration-optional.html. I couldn't find any project dedicated to documentation so I'm adding this here.