运行时出现这个错误,
org.springframework.dao.DataIntegrityViolationException: not-null property references a null or transient value: com.epms.domain.EngineeringDetail.createDate; nested exception is org.hibernate.PropertyValueException: not-null property references a null or transient value: com.epms.domain.EngineeringDetail.createDate
at org.springframework.orm.hibernate3.SessionFactoryUtils.convertHibernateAccessException(SessionFactoryUtils.java:630)
at org.springframework.orm.hibernate3.HibernateAccessor.convertHibernateAccessException(HibernateAccessor.java:412)

网上查了好多解决方案都不行。
我就是又一个ID列,他是表示自增的,但不是主键。怎么处理呢、