java.lang.ClassCastException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Hibernate / Mailing Lists
    via by Unknown author,
  • Error creating bean with name
    via by Unknown author,
  • VERSION field name is not valid hibernate
    via by chen young,
    • java.lang.ClassCastException: org.hibernate.type.BigDecimalType at org.hibernate.tuple.PropertyFactory.buildVersionProperty(PropertyFactory.java:83) at org.hibernate.tuple.EntityMetamodel.<init>(EntityMetamodel.java:157) at org.hibernate.persister.entity.AbstractEntityPersister.<init>(AbstractEntityPersister.java:412) at org.hibernate.persister.entity.SingleTableEntityPersister.<init>(SingleTableEntityPersister.java:108) at org.hibernate.persister.PersisterFactory.createClassPersister(PersisterFactory.java:55) at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:216) at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1176) at com.paypal.bdo.test.Hibernate101.main(Hibernate101.java:37)
    No Bugmate found.