javax.persistence.PersistenceException: org.hibernate.type.SerializationException: could not deserialize

前端 未结 6 1317
Happy的楠姐
Happy的楠姐 2021-02-19 04:32

When executing a Criteria Query in hibernate, I get the following exception:

javax.persistence.PersistenceException: javax.persistence.PersistenceException: org.         


        
6条回答
  •  终归单人心
    2021-02-19 05:04

    The problem was that a referenced entity had another reference to an entity and the relationship was NOT annotated by any of the @OneToMany-like annotations.

提交回复
热议问题