org.hibernate.cfg.JDBCBinderException: Duplicate names found for primarykey. Existing name: definition_item_id JDBC name: member_item_id on table org.hibernate.mapping.Table(GenOLFData.DBA.GTItemDefinition)

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Hibernate JIRA by Anders Peterson, 1 year ago
Duplicate names found for primarykey. Existing name: definition_item_id JDBC name: member_item_id on table org.hibernate.mapping.Table(GenOLFData.DBA.GTItemDefinition)
via Hibernate JIRA by Anders Peterson, 1 year ago
Duplicate names found for primarykey. Existing name: definition_item_id JDBC name: member_item_id on table org.hibernate.mapping.Table(GenOLFData.DBA.GTItemDefinition)
org.hibernate.cfg.JDBCBinderException: Duplicate names found for primarykey. Existing name: definition_item_id JDBC name: member_item_id on table org.hibernate.mapping.Table(GenOLFData.DBA.GTItemDefinition)
at org.hibernate.cfg.JDBCBinder.processPrimaryKey(JDBCBinder.java:964)
at org.hibernate.cfg.JDBCBinder.readDatabaseSchema(JDBCBinder.java:124)
at org.hibernate.cfg.JDBCBinder.readFromDatabase(JDBCBinder.java:91)
at org.hibernate.cfg.JDBCMetaDataConfiguration.readFromJDBC(JDBCMetaDataConfiguration.java:37)
at org.hibernate.eclipse.console.wizards.ArtifactGeneratorWizard$3.execute(ArtifactGeneratorWizard.java:237)
at org.hibernate.console.ConsoleConfiguration.execute(ConsoleConfiguration.java:77)
at org.hibernate.eclipse.console.wizards.ArtifactGeneratorWizard.buildConfiguration(ArtifactGeneratorWizard.java:234)
at org.hibernate.eclipse.console.wizards.ArtifactGeneratorWizard.doFinish(ArtifactGeneratorWizard.java:164)
at org.hibernate.eclipse.console.wizards.ArtifactGeneratorWizard.access$0(ArtifactGeneratorWizard.java:132)
at org.hibernate.eclipse.console.wizards.ArtifactGeneratorWizard$1.run(ArtifactGeneratorWizard.java:98)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.