- This topic has 4 replies, 2 voices, and was last updated 14 years, 2 months ago by support-shalini.
-
AuthorPosts
-
andrewbMemberI have a postgres database. I create a web project, add hibernate capabilities to it, then use the hibernate perspective to reverse engineer a table. I get the following error :
eclipse.buildId=unknown
java.version=1.6.0_13
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_AU
Command-line arguments: -os win32 -ws win32 -arch x86Error
Mon Sep 13 18:37:11 EST 2010
An internal error occurred during: “Generating Artifacts”.java.util.NoSuchElementException
at java.util.HashMap$HashIterator.nextEntry(HashMap.java:796)
at java.util.HashMap$ValueIterator.next(HashMap.java:822)
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:554)
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:419)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
support-shaliniMemberandrewb,
Can you give us some more information on this?
1. What is the version of ME and OS that your are using?
2. What is the version of postgres database?
3. Can you clarify if your table names are in capital letters? Because, there is an existing issue on RE with table names in capital letters.
I would recommend you to go through the following links also –
1. https://forum.hibernate.org/viewtopic.php?f=1&t=935715&p=2416841#p2416841
2. http://opensource.atlassian.com/projects/hibernate/browse/HBX-1000
andrewbMemberI changed my database to mysql and the same process worked fine.
MyEclipse Enterprise Workbench
Version: 8.6
Build id: 8.6-20100723On windows 7. Postgres 8.4
My table names do not have capital letters.I am currently evaluating myeclipseide – so far the bugs in it are causing me to be less productive than if I did not use it.
andrewbMemberI changed my database to mysql and the same process worked fine.
MyEclipse Enterprise Workbench
Version: 8.6
Build id: 8.6-20100723On windows 7. Postgres 8.4
My table names do not have capital letters.I am currently evaluating myeclipseide – so far the bugs in it are causing me to be less productive than if I did not use it.
support-shaliniMemberandrewb,
Can you give us some more information to replicate your issue?
1. What is the jar file that you are using with Postgres 8.4?
2. Can you send us the DDL of the table that is causing the issue? -
AuthorPosts