-->
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: Using hint with hibernate 2.1.6
PostPosted: Fri Feb 17, 2006 10:39 am 
Newbie

Joined: Thu Mar 17, 2005 2:00 pm
Posts: 4
Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp

Hibernate version:

2.1.6


****************

Hi !

We are using hibernate as a O/R (with oracle 9 as rdbms) on a high-volume project for a financial company. We manage more than 150,000 deals / day at a rate of 10 deals / sec.

For performance reason, we want to use oracle hint. We did patch hibernate 2.1.6 to inject, dynamically, the sql hint. But as it is not clean, we would like to implement a new Dialect to support oracle hint in HQL queries.

(1) We can not use sql native queries because we use a generic HQL query generator and it will be hard to change that and not clean
(2) Unfortunatelly, there is no "render" method in hibernate 2.1.6

I tried to look to the hibernate source, and I don't see how to inject "oracle" hint in a clean way. Any one has any idea ?

Thanx !

Yazid


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.