我在自定义 SQL 语句中使用 as 子句,在实体类中我使用 as 子句中的名称。拥有多个具有相同列名的表的最佳方法是什么?单独的实体类?
multiple-columns spring-data-jpa spring-boot
multiple-columns ×1
spring-boot ×1
spring-data-jpa ×1