Hi, I have requirement in which query joins different attibutes from tables and retrieve result. if i use createQuery(String qlString).setParameter().resultList(). it will retun me list of Object[]. Problem with this is i need to iterate object[] and set values in my ValueObject.
Can i use createQuery(String sqlString, Class<T> resultClass). here resultClass will be my Valueobject which implements Serializable. I tried but it's not working. Is there a way to map returned Object[] to ValueObject using JPA/OpenJPA? Thanks Chintan -- View this message in context: http://openjpa.208410.n2.nabble.com/createQuery-String-qlString-Class-T-resultClass-or-createNamedQuery-usage-tp6338912p6338912.html Sent from the OpenJPA Users mailing list archive at Nabble.com.
