-->
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.  [ 1 post ] 
Author Message
 Post subject: QueryTranslatorImpl initialization
PostPosted: Fri Mar 10, 2006 10:48 am 
Beginner
Beginner

Joined: Tue Jul 12, 2005 11:15 am
Posts: 29
Hibernate version:3.0.5

Hi,

I would like to know if it's possible to initialize or pre load
the org.hibernate.hql.ast.QueryTranslatorImpl object
Why ? to be faster for the first query.

My first query take 400ms
and the other take 10ms?

To be faster, on my first query, I made a fictive Query using
org.hibernate.Session.createQuery method.

So the first query is faster, but,
can i do the same things more cleanly?


Pim.

_________________
Pim.


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

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.