| Register | FAQ | Calendar | Search | Today's Posts | Mark Forums Read |
|
#1
| |||
| |||
| 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. |
|
#2
| |||
| |||
| 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. |
![]() |
| Thread Tools | |
| Display Modes | |
In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.