org.hibernate.MappingException: Unable to find physical table: BoatInXml

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 Hibernate JIRA by Stephen Chin, 1 year ago
Unable to find physical table: BoatInXml
via Hibernate JIRA by Stephen Chin, 1 year ago
Unable to find physical table: BoatInXml
via Hibernate JIRA by Ole Jørgen Aurebekk, 1 year ago
Unable to find physical table: File
via Hibernate JIRA by Ole Jørgen Aurebekk, 1 year ago
Unable to find physical table: File
org.hibernate.MappingException: Unable to find physical table: BoatInXml
at org.hibernate.cfg.Mappings.getLogicalTableName(Mappings.java:476)
at org.hibernate.cfg.Mappings.getLogicalTableName(Mappings.java:523)
at org.hibernate.cfg.annotations.CollectionBinder.bindManyToManySecondPass(CollectionBinder.java:729)
at org.hibernate.cfg.annotations.CollectionBinder.bindStarToManySecondPass(CollectionBinder.java:410)
at org.hibernate.cfg.annotations.CollectionBinder$1.secondPass(CollectionBinder.java:371)
at org.hibernate.cfg.CollectionSecondPass.doSecondPass(CollectionSecondPass.java:35)
at org.hibernate.cfg.Configuration.secondPassCompile(Configuration.java:1030)
at org.hibernate.cfg.AnnotationConfiguration.secondPassCompile(AnnotationConfiguration.java:227)
at org.hibernate.test.annotations.ConfigurationTest.testAnnReferencesHbm(ConfigurationTest.java:142)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at com.intellij.rt.execution.junit2.JUnitStarter.main(JUnitStarter.java:31)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

Users with the same issue

6 times, 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.