Complex Hibernate Projections

前端 未结 4 751
野的像风
野的像风 2020-12-18 08:06

I want to ask, it is possible that I create query projections and criterion for more than one level deep? I have 2 model classes:

@Entity  
@Table(name = \"p         


        
4条回答
  •  鱼传尺愫
    2020-12-18 08:27

    I wrote the ResultTransformer, that does this exactly. It's name is AliasToBeanNestedResultTransformer, check it out on github.

提交回复
热议问题