- This topic has 9 replies, 2 voices, and was last updated 14 years, 8 months ago by support-shalini.
-
AuthorPosts
-
BrianMcNamaraMemberHi guys. Since upgrading to MyEclipse v8, our development team is now completely unable to use “Generate Entities and DAOs”. We immediately get this popup message:
“Required driver not found. ERDesigner not available”
We cannot ship changes to our product without a fix. Please let me know either how to get around this, or when a fix will be available.
Thank you.
–Brian McNamara
Brian.McNamara@Nolij.com
888.818.6654 x432
support-shaliniMemberBrian,
Can you give some more information?
1. Can you copy paste your installation details from MyEclipse > Installation Summary > Installation Details?
2. How did you install MyEclipse? using all-in-one installer/pulse or added MyEclipse as a plugin on top of Eclipse 3.5.1 classic?
3. Are there any errors logged in the log file located at workspace dir > .metadata > .log?
4. Are you working on a new project or did you import the project from any previous versions?
BrianMcNamaraMemberHi Shalini. Thanks for your response.
1. Installation Details:
*** Date:
Thursday, February 25, 2010 9:59:03 AM EST** System properties:
OS=WindowsXP
OS version=5.1.0
Java version=1.6.0_13*** MyEclipse details:
MyEclipse Enterprise Workbench
Version: 8.0
Build id: 8.0-20091120*** Eclipse details:
MyEclipse Enterprise WorkbenchVersion: 8.0
Build id: 8.0-20091120Eclipse startup command=-os
win32
-ws
win32
-arch
x86
-showsplash
-launcher
C:\Program Files\Genuitec\MyEclipse 8.x Latest\myeclipse.exe
-name
Myeclipse
–launcher.library
C:\Program Files\Genuitec\MyEclipse 8.x Latest\../Common/plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.0.200.v20090519\eclipse_1206.dll
-startup
C:\Program Files\Genuitec\MyEclipse 8.x Latest\../Common/plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar
-install
C:/Program Files/Genuitec/MyEclipse 8.x Latest
-configuration
configuration
-vm
C:/Program Files/Genuitec/Common/binary/com.sun.java.jdk.win32.x86_1.6.0.013/jre/bin/client/jvm.dll2. I removed the previous version of MyEclipse completely, and then installed v8 from scratch from an executable one of my coworkers had previously downloaded.
3. There are no messages in that log file.
4. I am working on an existing project. I don’t think I explicitly needed to “import” it after installing v8. The workspace did not change.
Thanks,
Brian
support-shaliniMemberBrian,
Can you answer a few more questions?
1. What was the version used to create the original project?
2. What is the type of project that you are working on and what are the technologies you are using?
3. Can you switch to a brand new workspace, create a new project and check if the issue still exists?
BrianMcNamaraMember1. Not sure, but probably v7.
2. Not sure of the original “type”. We are using Java, Spring, Hibernate and GWT.
3. I created a new project in a new workspace, added Hibernate capabilities to it, and successfully tested the driver. But I do not see “Generate DAOs” as an option under the MyEclipse. What would I need to do to see that?
support-shaliniMemberBrian,
But I do not see “Generate DAOs” as an option under the MyEclipse. What would I need to do to see that?
From the DbBrowser, browse down to your table, right click on it and from the context menu select “Hibernate Reverse Engineering”. This wizard will allow you to create DAO’s
Please refer to the following links –
1. http://www.myeclipseide.com/documentation/quickstarts/hibernateintroduction/
2. http://www.myeclipseide.com/documentation/quickstarts/hibernate/
BrianMcNamaraMemberAlthough I do see Hibernate show up from the place you suggest, that is not the place from which we have been doing it, and it does not work with any of the work we have previously defined.
We have always used this technique:
From the Java Enterprise Perspective, right-click on the project.
Select MyEclipse > Generate Entities and DAO’s.
When we do that, we now get the error message described above.We want that fixed, rather than having to start over from scratch. How do we fix that?
Thanks.
support-shaliniMemberBrian,
Can you clarify if you were using JPA or Hibernate?
Can you create a new project and add JPA capabilities. Now from the context menu of the project you can see MyEclipse > Generate Entities and DAO’s.Since you are working on an old project, Right click on your project go to Properties > MyEclipse > Java Persistance. Update your driver details and click “Apply”.
Let me know if that works for you.
BrianMcNamaraMemberThat works. Thank you very much!
support-shaliniMemberBrian,
Good to know that you are all set.
Let us know if you have any issues. -
AuthorPosts