java.lang.ClassCastException: org.hibernate.type.BigDecimalType

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 sourceforge.net by Unknown author, 1 year ago
org.hibernate.type.BigDecimalType
via Coderanch by chen young, 11 months ago
org.hibernate.type.BigDecimalType cannot be cast to org.hibernate.type.VersionType
via scriptscoop.net by Unknown author, 1 year ago
org.hibernate.type.BigDecimalType cannot be cast to org.hibernate.type.VersionType
java.lang.ClassCastException: org.hibernate.type.BigDecimalType
at org.hibernate.tuple.PropertyFactory.buildVersionProperty(PropertyFactory.java:83)
at org.hibernate.tuple.EntityMetamodel.(EntityMetamodel.java:157)
at org.hibernate.persister.entity.AbstractEntityPersister.(AbstractEntityPersister.java:412)
at org.hibernate.persister.entity.SingleTableEntityPersister.(SingleTableEntityPersister.java:108)
at org.hibernate.persister.PersisterFactory.createClassPersister(PersisterFactory.java:55)
at org.hibernate.impl.SessionFactoryImpl.(SessionFactoryImpl.java:216)
at com.paypal.bdo.test.Hibernate101.main(Hibernate101.java:37)

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.