Hibernate Native SQL Query retrieving entities and collections

前端 未结 5 1642
谎友^
谎友^ 2020-12-13 06:54

This is my situation, I have two basic POJO\'s which I\'ve given a simple hibernate mapping :

Person
  - PersonId
  - Name
  - Books

Book
  - Code
  - Descr         


        
5条回答
  •  不知归路
    2020-12-13 07:36

    HHH-2831 Native SQL queries with addJoin or return object arrays instead of single Entities

    This behaviour is caused by a known bug. Doh, should have searched harder!

提交回复
热议问题