using ImprovedNamingStrategy with HQL Console?

This is a discussion on using ImprovedNamingStrategy with HQL Console? within the J2EE forums in Framework and Interface Programming category; 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 ...

Go Back   Application Development Forum > Framework and Interface Programming > J2EE

Object Mix

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 11-13-2007, 04:50 PM
Sam
Guest
 
Default 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 set change the naming strategy, if anyone here can provide that.
Reply With Quote
  #2  
Old 11-27-2007, 07:27 AM
Gregory Shrago (JetBrains)
Guest
 
Default Re: using ImprovedNamingStrategy with HQL Console?

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.

Reply With Quote
Reply


Thread Tools
Display Modes


All times are GMT -5. The time now is 05:07 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vB Ad Management by =RedTyger=

In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.