org.hibernate.AnnotationException: @org.hibernate.annotations.Table references an unknown table: ProductForPractice

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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Stack Overflow by Dave
, 2 years ago
@org.hibernate.annotations.Table references an unknown table: USERS
via Hibernate JIRA by Richard Eckart de Castilho, 1 year ago
@org.hibernate.annotations.Table references an unknown table: MyTable
via Hibernate JIRA by Richard Eckart de Castilho, 1 year ago
@org.hibernate.annotations.Table references an unknown table: MyTable
org.hibernate.AnnotationException: @org.hibernate.annotations.Table references an unknown table: ProductForPractice
at org.hibernate.cfg.annotations.EntityBinder.processComplementaryTableDefinitions(EntityBinder.java:933)
at org.hibernate.cfg.AnnotationBinder.bindClass(AnnotationBinder.java:713)
at org.hibernate.cfg.Configuration$MetadataSourceQueue.processAnnotatedClassesQueue(Configuration.java:3435)
at org.hibernate.cfg.Configuration$MetadataSourceQueue.processMetadata(Configuration.java:3389)
at org.hibernate.cfg.Configuration.secondPassCompile(Configuration.java:1341)
at Hibernate.configuration.Service.saveProduct(Service.java:28)
at main.Main1.main(Main1.java:15)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

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