using ImprovedNamingStrategy with HQL Console?

Hi! This is my first post, so hopefully this is the right forum for this question. If not, my apologies.

I'm trying to use the HQL console, however it looks like whatever Configuration that's being used is using the DefaultNamingStrategy. We use the ImprovedNamingStrategy, and I can't seem to find where to tell IDEA to use the improved strategy for the HQL console. I've Googled around and it seems like I can't just specify it in the hibernate.cfg.xml file, either (we're doing it in code in our app, as all the examples show), though perhaps I'm wrong about that? I'm using build 7364, which I realize is probably "old" at this point, but even if I were to update I wouldn't mind having some insight on where to look change the naming strategy, if anyone here can provide that.

Message was edited by:
Sam

1 comment

Hello Sam,

Indeed, there is no way to configure this.
Do you use improved or some homegrown naming strategy?

As a workaround may I suggest to add this functionality to your
hibernate distribution, as far as it is an opensource? :)

Gregory Shrago

Sam wrote:

Hi! This is my first post, so hopefully this is the right forum for
this question. If not, my apologies.

I'm trying to use the HQL console, however it looks like whatever
Configuration that's being used is using the DefaultNamingStrategy.
We use the ImprovedNamingStrategy, and I can't seem to find where to
tell IDEA to use the improved strategy for the HQL console. I've
Googled around and it seems like I can't just specify it in the
hibernate.cfg.xml file, either (we're doing it in code in our app, as
all the examples show), though perhaps I'm wrong about that? I'm
using build 7364, which I realize is probably "old" at this point,
but even if I were to update I wouldn't mind having some insight on
where to look set change the naming strategy, if anyone here can
provide that.

0

Please sign in to leave a comment.