facebook

HQL editor needs a way to set additional classpath

  1. MyEclipse IDE
  2.  > 
  3. Feature Requests
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #318555 Reply

    Robert Varga
    Participant

    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

    #318573 Reply

    Brian Fernandes
    Moderator

    Rob,

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

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: HQL editor needs a way to set additional classpath

You must be logged in to post in the forum log in