假设我有一个包含两列firstname并lastname具有String数据类型的表.通常我会写我的hql查询
firstname
lastname
"select firstname,lastname from contact"
我可以写一个连接两个属性的hql查询吗?
也许是这样的 "select firstname+lastname as fullname from Contact"
"select firstname+lastname as fullname from Contact"
hibernate
hibernate ×1