net.sf.hibernate.MappingException: No persister for: java.lang.Boolean

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 Sunil Reddy, 1 year ago
No persister for: java.lang.Boolean
via Hibernate JIRA by Sunil Reddy, 1 year ago
No persister for: java.lang.Boolean
via Coderanch by Stuart Houston, 1 year ago
No persister for: net.sf.hibernate.collection.Bag
via Coderanch by Neil Lowrey, 1 year ago
No persister for: java.lang.Integer
net.sf.hibernate.MappingException: No persister for: java.lang.Boolean
at net.sf.hibernate.impl.SessionFactoryImpl.getPersister(SessionFactoryImpl.java:420)
at net.sf.hibernate.impl.SessionImpl.getPersister(SessionImpl.java:2302)
at net.sf.hibernate.impl.SessionImpl.getPersister(SessionImpl.java:2309)
at net.sf.hibernate.impl.SessionImpl.saveOrUpdate(SessionImpl.java:1195)
at net.sf.hibernate.engine.Cascades$4.cascade(Cascades.java:88)
at net.sf.hibernate.engine.Cascades.cascade(Cascades.java:258)
at net.sf.hibernate.engine.Cascades.cascade(Cascades.java:341)
at net.sf.hibernate.impl.SessionImpl.doSave(SessionImpl.java:693)
at net.sf.hibernate.impl.SessionImpl.save(SessionImpl.java:605)
at example.SampleApp.main(SampleApp.java:89)

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.