MyEclipse Forums
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
robvarga
Post subject: HQL editor needs a way to set additional classpath  PostPosted: Jul 30, 2011 - 11:44 AM
Quality Board
Quality Board


Joined: May 23, 2003
Posts: 351

Hi MyEclipse team,

sorry for double posting, I posed this originally in the DB tools section.

I bumped into a deficiency of the HQL editor when I tried to actually use it. It actually may be a deficiency of the Spring/Hibernate integration

The issue is that when I try to use the HQL query running feature, it attempts to put together the session factory as defined in my Spring context files.

Unfortunately that requires a property file which is resolved from the classpath and is supposed to come from the part of the classpath which is specific to the deployed system (so not in the source folders of the project).

There should be a way to either specify additional classpath elements for the Hibernate tooling so that I can point to the folder where such files reside, or choose a MyEclipse application server profile (preferably in the HQL dialog, or among the properties of the Spring+Hibernate enabled project, but not a workspace-wide preference) whose classpath setup the Hibernate tooling would use.

This way it could gather all files it needs.

Also, is 9.1 supposed to be compatible with Eclipse 3.6.2? I did not test it, but I would prefer to be able to upgrade to 3.6.2

Thanks and best regards,

Robert
 
 View user's profile Send private message  
Reply with quote Back to top
Support-Brian
Post subject:   PostPosted: Aug 01, 2011 - 10:27 AM
Moderator
Moderator


Joined: Aug 21, 2004
Posts: 2512

Rob,

I agree that this would be useful and have noted it down as a feature request.

_________________
Brian
MyEclipse Support
 
 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
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits