0 Replies Latest reply on Mar 27, 2007 3:47 AM by Benjamin Seyinbour

    column: value (should be mapped with insert=

    Benjamin Seyinbour Expert

       

      08:22:39,984 WARN [ServiceController] Problem starting service persistence.units:ear=odmsapp.ear,unitName=odmsPersistenceUnit
      javax.persistence.PersistenceException: org.hibernate.MappingException: Repeated column in mapping for entity: com.xxxx.xx.pojo.service.ServiceEntity column: value (should be mapped with insert="false" update="false")
       at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:733)
       at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:127)
       at org.jboss.ejb3.entity.PersistenceUnitDeployment.start(PersistenceUnitDeployment.java:242)
      

      I understand this error except that I don't have a column called 'value'. Is 'value' a placeholder for some column? This same error is thrown in more than one entity.

      I have undone the changes I made before I got this error but the error still appears. I would be very grateful if someone would explain to me what 'value' is.

      Thanks