[hibernate-issues] [Hibernate-JIRA] Closed: (HHH-2193) Introduce a flag to avoid checking NamedQuery at startup

Steve Ebersole (JIRA) noreply at atlassian.com
Fri Nov 17 17:17:07 EST 2006


     [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-2193?page=all ]
     
Steve Ebersole closed HHH-2193:
-------------------------------

    Resolution: Fixed

added Environment.QUERY_STARTUP_CHECKING :
hibernate.query.startup_check true/false

> Introduce a flag to avoid checking NamedQuery at startup
> --------------------------------------------------------
>
>          Key: HHH-2193
>          URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-2193
>      Project: Hibernate3
>         Type: Improvement

>   Components: core
>     Reporter: Emmanuel Bernard
>     Assignee: Steve Ebersole
>      Fix For: 3.2.2

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

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