I need to take hql that is currently :
select distinct a from Asset as a where ...
and change it to
select new com.org.Asse
Ok for anyone interested the proper syntax is
select distinct new com.org.AssetDTO(a.id, a.address, a.status) from Asset as a where ...