我只需要将名字和姓氏输入属性ownerName
,对我来说,最好的解决方案是,如果我在{{1}的setter中为setter
调用ownerName
但是有了这个我得到错误:
conversationOwner
这是实体类:
Request processing failed; nested exception is javax.persistence.PersistenceException: org.hibernate.PropertyAccessException: Exception occurred inside setter of medictonproject.model.ConversationEntity.conversationOwner