MyEclipse Forums
This thread has been locked & this forum has been archived.
Please post new topics to Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
View previous topic Printable version Log in to check your private messages View next topic
Author Message
farhad
Post subject: HQL editor with NamingStrategy  PostPosted: Mar 23, 2012 - 10:18 PM
Registered Member
Registered Member


Joined: Jul 05, 2004
Posts: 13

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?
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
support-swapna
Post subject:   PostPosted: Mar 26, 2012 - 01:12 PM



Joined: Nov 11, 2010
Posts: 2491

farhad ,

I have escalated it to a dev team member. They will get back to you.
Sorry for the inconvenience.

_________________
Swapna
MyEclipse Support
 
 View user's profile Send private message  
Reply with quote Back to top
Support-Brian
Post subject:   PostPosted: Mar 27, 2012 - 01:04 PM
Moderator
Moderator


Joined: Aug 21, 2004
Posts: 2584

Farhad,

Where have you defined your custom NamingStrategy? Is it in referenced in your hibernate.cfg.xml file?

_________________
Brian
MyEclipse Support
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
farhad
Post subject:   PostPosted: Apr 13, 2012 - 04:25 PM
Registered Member
Registered Member


Joined: Jul 05, 2004
Posts: 13

No, I am setting it in my SessionFactory and registering it like:
configuration.setNamingStrategy(namingStrategy);
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.
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits