facebook

Hibernate Reverse Engineering does not create files

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse IDE
  2.  > 
  3. WebSphere Development
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #307774 Reply

    hmcdaniel
    Member

    I am using DB2 Express C and MyEclipse Blue Edition to reverse engineer Hibernate objects following the tutorials but I get this error:

    An internal error occurred during: “Generating Artifacts”.
    java.util.NoSuchElementException

    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)
    

    The table has a primary key a few columns and no foreign keys:

    
    CREATE TABLE "MCR_CODEASCAMOUNT" (
      "ROW_ID" INT NOT NULL GENERATED ALWAYS AS IDENTITY (START WITH 1, INCREMENT BY 1, NO CACHE),
      "CODE"    VARCHAR(5),
      "ASCYEAR"    VARCHAR(4),
      "ASCAMOUNT"    DECIMAL(7,2)
    ) 
    #307789

    hmcdaniel,
    I could not replicate this issue at my end. Can you give some more information?
    1. Can you copy paste your installation details from MyEclipse > Installation Summary > Installation Details?
    2. What is the driver and what are jar files that you are using?
    Please refer to the following link also and –
    https://www.genuitec.com/forums/topic/db-error-generating-artifacts/
    Let me know if that helps.

    #308062

    Brian Fernandes
    Moderator

    hmcdaniel,

    Were you able to resolve this issue?

    If not, does disabling the generation of abstract elements help? Can you tell me what version of ME you are using and what generation options you chose in the wizard? (HBM, Annotations, DAOs, etc.)?

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: Hibernate Reverse Engineering does not create files

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