org.jboss.tools.hibernate.spi.HibernateException: Duplicate names found for primarykey. Existing name: SYS_C00123041 JDBC name: SYS_C00123039 on table org.hibernate.mapping.Table(TP_SUB_TYP)

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 Tomasz, 1 year ago
Duplicate names found for primarykey. Existing name: SYS_C00123041 JDBC name: SYS_C00123039 on table org.hibernate.mapping.Table(TP_SUB_TYP)
via Hibernate JIRA by Tomasz, 1 year ago
Duplicate names found for primarykey. Existing name: SYS_C00123041 JDBC name: SYS_C00123039 on table org.hibernate.mapping.Table(TP_SUB_TYP)
via Stack Overflow by jmarks
, 2 years ago
Foreign key name (EXECUTION_FK) mapped to different tables! previous: org.hibernate.mapping.Table(PURGE_EXECUTION_TRACKING) current:org.hibernate.mapping.Table(PURGE_SCENARIO_TRACKING)
org.jboss.tools.hibernate.spi.HibernateException: Duplicate names found for primarykey. Existing name: SYS_C00123041 JDBC name: SYS_C00123039 on table org.hibernate.mapping.Table(TP_SUB_TYP)
at org.hibernate.eclipse.console.workbench.LazyDatabaseSchemaWorkbenchAdapter$2.execute(LazyDatabaseSchemaWorkbenchAdapter.java:138)
at org.hibernate.console.execution.DefaultExecutionContext.execute(DefaultExecutionContext.java:63)
at org.hibernate.console.ConsoleConfiguration.execute(ConsoleConfiguration.java:108)
at org.hibernate.eclipse.console.workbench.LazyDatabaseSchemaWorkbenchAdapter.readDatabaseSchema(LazyDatabaseSchemaWorkbenchAdapter.java:125)
at org.hibernate.eclipse.console.workbench.LazyDatabaseSchemaWorkbenchAdapter.getChildren(LazyDatabaseSchemaWorkbenchAdapter.java:65)
at org.hibernate.eclipse.console.workbench.BasicWorkbenchAdapter.fetchDeferredChildren(BasicWorkbenchAdapter.java:104)
at org.eclipse.ui.progress.DeferredTreeContentManager$1.run(DeferredTreeContentManager.java:238)

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.