How to map value from native query to entity field that does not exists in db table

前端 未结 0 1367
轮回少年
轮回少年 2020-12-31 11:25

I have entity AccountStatus and want to use next native query (I use Spring Data):

  @Query(value = "SELECT id, code, dscp, \'some address\' as address f         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题