javax.persistence.PersistenceException: org.hibernate.MappingException: identifier mapping has wrong number of columns: foo.bar.MyObject type: foo.bar.MyCompositeType

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 Jens Schumann, 1 year ago
org.hibernate.MappingException: identifier mapping has wrong number of columns: foo.bar.MyObject type: foo.bar.MyCompositeType
via Hibernate JIRA by Jens Schumann, 1 year ago
org.hibernate.MappingException: identifier mapping has wrong number of columns: foo.bar.MyObject type: foo.bar.MyCompositeType
via Hibernate JIRA by Levi Purvis, 1 year ago
org.hibernate.MappingException: could not find PropertyAccessor class: PROPERTY
via Hibernate JIRA by Levi Purvis, 1 year ago
org.hibernate.MappingException: could not find PropertyAccessor class: PROPERTY
via atlassian.net by Unknown author, 2 years ago
org.hibernate.MappingException: could not find PropertyAccessor class: PROPERTY
via sourceforge.net by Unknown author, 2 years ago
org.hibernate.MappingException: could not find PropertyAccessor class: PROPERTY
org.hibernate.MappingException: identifier mapping has wrong number of columns: foo.bar.MyObject type: foo.bar.MyCompositeType
at org.hibernate.mapping.RootClass.validate(RootClass.java:194)
at org.hibernate.cfg.Configuration.validate(Configuration.java:975)
at org.hibernate.ejb.Ejb3Configuration.createEntityManagerFactory(Ejb3Configuration.java:358)
at org.hibernate.ejb.Ejb3Configuration.createEntityManagerFactory(Ejb3Configuration.java:484)
at org.hibernate.ejb.Ejb3Configuration.createFactory(Ejb3Configuration.java:96)
at org.hibernate.ejb.Ejb3Configuration.createEntityManagerFactory(Ejb3Configuration.java:142)
at org.hibernate.ejb.Ejb3Configuration.createEntityManagerFactory(Ejb3Configuration.java:149)
at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:37)
at foo.bar.SimpleEntityManagerTest.setUp(SimpleEntityManagerTest.java:27)
at com.intellij.rt.execution.junit2.JUnitStarter.main(JUnitStarter.java:31)

Users with the same issue

You are the first who have seen this exception.

Write tip

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