MyEclipse: HQL editor with NamingStrategy
farhad - Mar 23, 2012 - 10:18 PM
Post subject: HQL editor with NamingStrategy
I am using MyEclipse 10.0 with Hibernate 3.3 and JVM 1.6. I have implemented a custom NamingStrategy which as long as I use my SessionFactory there are no problem. Issue is, I can't use HQL editor since it is using DefaultNamingStrategy and all mappings would fail. Is there a way I can use my SessionFactory or NamingStrategy when using HQL Configuration?
support-swapna - Mar 26, 2012 - 01:12 PM
I have escalated it to a dev team member. They will get back to you.
Sorry for the inconvenience.
Support-Brian - Mar 27, 2012 - 01:04 PM
Where have you defined your custom NamingStrategy? Is it in referenced in your hibernate.cfg.xml file?
farhad - Apr 13, 2012 - 04:25 PM
No, I am setting it in my SessionFactory and registering it like:
Also, it package-info.java is not being read, it seems like custom info's are not being loaded from HQL but it is working for application.
All times are GMT - 6 Hours
Powered by PNphpBB2
© 2003-2004 The PNphpBB GroupCredits