A Digital Life

My Notebook

View My GitHub Profile

  • About
  • 22 February 2011

    org.hibernate.MappingException: property mapping has wrong number of columns

    by kerner1000

    Solution: Check data types of your Entity Bean, and change any Object to something else, e.g. String.

    Hibernate does not know how to map Object to a valid database type. Do not use Object fields within your Entity Beans.

    tags: Hibernate - Java