facebook

HQL Editor Error

  1. MyEclipse Archived
  2.  > 
  3. Database Tools (DB Explorer, Hibernate, etc.)
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #315100 Reply

    madhockeydad
    Member

    Hi

    We have a project that we added Hibernate Capabilities to. When we right click the project and go to MyEclipse -> Open HQL Editor a progress window opens up like a database connection is being established. An error message shows up that reads:

    Error Creating Configuration

    A configuration object could not be build, autocomplete and dynamic query translation will be unavailable. Queries cannot be executed.

    Reason:
    Problems while loading database drivercalss (some driver class). Please make sure that the driver JAR is on your projects build path (WHICH WE HAVE DONE).

    java.sql.SQLException: java.lang.UnsatisfiedLinkError: Native Library (some dll( already loaded in another classloader.

    What does this mean and how do we fix it?

    David

    #315108 Reply

    support-swapna
    Moderator

    madhockeydad,

    Can you please answer some questions for me to investigate further?

    1) Can you share the build id from Help > About MyEclipse Enterprise Workbench? Please paste the build id here.

    2) Which database are you working with?

    3) Can you make sure that you can access the database and the table contents from the DB explorer view?

    4) Clear the contents of the .log file which is located at <workspace dir>/.metadata folder. Now go to MyEclipse > Open HQL Editor and check the .log file for any errors of interest. Please paste the entire error here for me.

    Also here is a thread which discusses the driver issues in DB2. There is an explanation about how we can add Type 2 drivers and the process to be followed. If you are working with Type 2 drivers then check if it helps you :
    https://www.genuitec.com/forums/topic/db2-dbexplorer-java-lang-unsatisfiedlinkerror/

    Let me how this works for you.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: HQL Editor Error

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