- This topic has 6 replies, 2 voices, and was last updated 15 years, 10 months ago by
Loyal Water.
-
AuthorPosts
-
baldgeekMemberI can get an when trying to do Hibernate Reverse Engineer
I’m using the weblogic jdbc driver.
Here is the export of the driver I’m using:
<!–
MyEclipse Database Explorer Driver Repository
–><Beans version=”1.0″>
<Bean Class=”net.sourceforge.squirrel_sql.fw.sql.SQLDriver”>
<driverClassName>weblogic.jdbc.sybase.SybaseDriver</driverClassName>
<identifier Class=”net.sourceforge.squirrel_sql.fw.id.UidIdentifier”>
<string>31a85941:120e7dfd98d:-7e21</string>
</identifier>
<jarFileName/>
<jarFileNames Indexed=”true”>
<Bean Class=”net.sourceforge.squirrel_sql.fw.util.beanwrapper.StringWrapper”>
<string>C:\bea\wlserver_10.3\server\lib\weblogic.jar</string>
</Bean>
<Bean Class=”net.sourceforge.squirrel_sql.fw.util.beanwrapper.StringWrapper”>
<string>C:\bea\wlserver_10.3\server\lib\wlbase.jar</string>
</Bean>
<Bean Class=”net.sourceforge.squirrel_sql.fw.util.beanwrapper.StringWrapper”>
<string>C:\bea\wlserver_10.3\server\lib\wlsybase.jar</string>
</Bean>
<Bean Class=”net.sourceforge.squirrel_sql.fw.util.beanwrapper.StringWrapper”>
<string>C:\bea\wlserver_10.3\server\lib\wlutil.jar</string>
</Bean>
</jarFileNames>
<name>MyEclipseDriverName012</name>
<url>jdbc:jtds:sybase://pascal:3771/par_pa_dvl</url>
</Bean>
<Bean Class=”com.genuitec.eclipse.sqlexplorer.utils.ConnectionProfile”>
<activate>false</activate>
<driverIdentifier Class=”net.sourceforge.squirrel_sql.fw.id.UidIdentifier”>
<string>31a85941:120e7dfd98d:-7e21</string>
</driverIdentifier>
<identifier Class=”net.sourceforge.squirrel_sql.fw.id.UidIdentifier”>
<string>7cfcd698:120da2ff437:-7f6f</string>
</identifier>
<name>Pascal Sybase Sy2</name>
<password encryption=”true”/>
<promptForPassword>true</promptForPassword>
<schema Indexed=”true”/>
<schemaDisplayPolicy>2</schemaDisplayPolicy>
<url>jdbc:bea:sybase://pascal:3771;DatabaseName=par_pa_sy2</url>
<userName>tnh</userName>
</Bean>
</Beans>Here are the error details:
eclipse.buildId=unknown
java.version=1.5.0_11
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments: -os win32 -ws win32 -arch x86 -cleanError
Mon Apr 27 10:30:17 PDT 2009
An internal error occurred during: “Generating Artifacts”.java.util.NoSuchElementException
at java.util.HashMap$HashIterator.nextEntry(Unknown Source)
at java.util.HashMap$ValueIterator.next(Unknown Source)
at com.genuitec.eclipse.hibernate.tool.MESingleClassExporter.doStart(MESingleClassExporter.java:59)
at com.genuitec.eclipse.hibernate.tool.hbm2x.VAbstractExporter.start(VAbstractExporter.java:97)
at com.genuitec.eclipse.hibernate.wizards.GenerateArtifactsJob$3.execute(GenerateArtifactsJob.java:552)
at org.hibernate.console.execution.DefaultExecutionContext.execute(DefaultExecutionContext.java:64)
at org.hibernate.console.ConsoleConfiguration.execute(ConsoleConfiguration.java:95)
at com.genuitec.eclipse.hibernate.wizards.GenerateArtifactsJob.run(GenerateArtifactsJob.java:417)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Loyal WaterMemberCan you go to MyEclipse > Installation Summary > Installation Details and paste the information here for me.
If you try to reverse engineer a table from the MyEclipse derby database, does it happen without issues?
baldgeekMemberHere is the installation details:
*** Date:
Monday, April 27, 2009 12:30:28 PM PDT** System properties:
OS=WindowsXP
OS version=5.1.0
Java version=1.5.0_11*** MyEclipse details:
MyEclipse Enterprise Workbench
Version: 7.1.1
Build id: 7.1.1-20090310*** Eclipse details:
MyEclipse Enterprise WorkbenchVersion: 7.1.1
Build id: 7.1.1-20090310Eclipse Platform
Version: 3.4.1.r341_v20080731-9I96EiDElYevwz-p1bP5z-NlAaP7vtX6Utotqsu
Build id: M20080911-1700Eclipse Java Development Tools
Version: 3.4.1.r341_v20080709-0800-7o7tEAfEF_U5qyUgrb2HAp539P97
Build id: M20080709-0800Eclipse Graphical Editing Framework GEF
Version: 3.4.1.v20080806-67718083A56B4H2A3213573
Build id: 200809101400Eclipse RCP
Version: 3.4.100.r341_v20080814-989JESIEdAciFYfkZZsBfSwQ2341
Build id: M20080703-0800Eclipse Plug-in Development Environment
Version: 3.4.1.r341_v20080731-7T7U0E9mlRIuGUYviF_VP
Build id: M20080703-0800Eclipse startup command=-os
win32
-ws
win32
-arch
x86
-showsplash
-launcher
C:\Program Files\Genuitec\MyEclipse 7.1\myeclipse.exe
-name
Myeclipse
–launcher.library
C:\Program Files\Genuitec\MyEclipse 7.1\../Common\plugins\org.eclipse.equinox.launcher.win32.win32.x86_1.0.101.R34x_v20080731\eclipse_1115.dll
-startup
C:\Program Files\Genuitec\MyEclipse 7.1\../Common\plugins\org.eclipse.equinox.launcher_1.0.101.R34x_v20080819.jar
-clean
-configuration
configuration
-vm
C:\Program Files\Genuitec\Common\binary\com.sun.java.jre.win32.x86_1.5.0.011\bin\client\jvm.dll
baldgeekMemberI just tried reverse engineering from the Derby database and that worked.
Loyal WaterMemberThis seems like an issue related to the database that you are working with. What database are you working with?
baldgeekMemberI’m working with Sybase 12.5
Loyal WaterMemberCan you try the driver mentioned here and let me know if it works:-
https://www.genuitec.com/forums/topic/db-where-can-i-download-a-sybase-jdbc-driver/ -
AuthorPosts