> Is there a way to map returned Object[] to ValueObject using JPA/OpenJPA? 

Yes. Find about new() operator in JPQL query. This operator when used in a
select projection  clause, let you construct a result instance that could be
non-persistent. 

-----
Pinaki 
--
View this message in context: 
http://openjpa.208410.n2.nabble.com/createQuery-String-qlString-Class-T-resultClass-or-createNamedQuery-usage-tp6338912p6347029.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.

Reply via email to