-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 
Author Message
 Post subject: How to disable named query checking
PostPosted: Fri Oct 21, 2011 3:12 pm 
Newbie

Joined: Fri Dec 04, 2009 4:17 pm
Posts: 18
Hi,

My env is NetBeans 7.0.1 + GlassFish 3.1 + JSF 2 + builtin library Hibernate 3.2.5.

I would to know how to disable named query checking when deploying the webapp in GlassFish.
I saw this message: "Named query checking : enabled". Then, I want to disable this, but I didn't
find searching the internet about how to do this.

Thanks for any help.


Top
 Profile  
 
 Post subject: Re: How to disable named query checking
PostPosted: Mon Oct 24, 2011 4:00 pm 
Newbie

Joined: Fri Dec 04, 2009 4:17 pm
Posts: 18
I tried to find some property to configure in persistence.xml to this, in Hibernate manual, but I didn't find anything.


Top
 Profile  
 
 Post subject: Re: How to disable named query checking
PostPosted: Fri Nov 04, 2011 12:58 pm 
Newbie

Joined: Fri Dec 04, 2009 4:17 pm
Posts: 18
I removed all named queries, using a properties file to save all JPAQL commands.
Then, the deployment in GlassFish that was 48s now is 21s!
Never more named queries...


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.