下面的SQL代码怎么替换成 getHibernateTemplate()方法进行查询 ??
select a.CAR_Name,a.IC_CODE,a.BUS_TYPE,a.LIST_STATUS from Ic_Sr_Info a union all
select b.CAR_Name,b.IC_CODE,b.BUS_TYPE,b.LIST_STATUS from tasks_bill_head b union all
select c.CAR_Name,c.IC_CODE,c.BUS_TYPE,c.LIST_STATUS from long_in_report c
Ic_Sr_Info 是表a, tasks_bill_head 是表b ,long_in_report 是表c CAR_Name ,IC_CODE, BUS_TYPE, LIST_STATUS 是3张表共有的字段名
比如pojo类A对应3个配置文件、
分别对应三个表、、
没试过、、
好久没用了、
返回一个object、
不知道怎么用这个object