RE: (OT) Hibernate question

2013-01-04 Thread Martin Gainty

an hour long discussion with a developer yesterday who said you *could* hint 
Hibernate predicates
Our allotted teleconference time ran out before we could get into the exact 
details of how to hint a Hibernate query

The concern for a potential client is to make all his Hibernate queries run 
fasteras explain plan on the Database shows repeated FTS
(personally..I dont know how to make a hibernate query run faster without 
hinting)
Anyone?
Martin  
__ 
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité

Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger 
sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung 
oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem 
Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. 
Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung 
fuer den Inhalt uebernehmen.
Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le 
destinataire prévu, nous te demandons avec bonté que pour satisfaire informez 
l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est 
interdite. Ce message sert à l'information seulement et n'aura pas n'importe 
quel effet légalement obligatoire. Étant donné que les email peuvent facilement 
être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité 
pour le contenu fourni.

 > Date: Fri, 4 Jan 2013 18:37:06 +0200
> Subject: Re: (OT) Hibernate question
> From: dio...@gmail.com
> To: user@struts.apache.org
> 
> Hi!
> 
> It's not possible to add hints to Hibernate criteria queries/hql queries.
> But it's possible to add it if you use native query(but it's not your case,
> as I understand).
> 
> BR,
> Dionis
> 
> 2013/1/4 Martin Gainty 
> 
> > oes anyone know how to hint a Hiber
  

Re: (OT) Hibernate question

2013-01-04 Thread Dionis Argiri
Hi!

It's not possible to add hints to Hibernate criteria queries/hql queries.
But it's possible to add it if you use native query(but it's not your case,
as I understand).

BR,
Dionis

2013/1/4 Martin Gainty 

> oes anyone know how to hint a Hiber