[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - IllegalArgumentException when using Constructor expression i

2007-02-07 Thread sofiatan
I have the following JPQL-query: SELECT new se.callista.test.dto.EmployeeReportData(e.firstName, e.lastName, a.city, e.employmentPeriod.startDate) FROM Employee e JOIN e.address a ORDER BY e.lastName, e.firstName | where EmployeeReportData is a dto (not an entity). The query works fine

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: IllegalArgumentException when using Constructor expressi

2007-02-07 Thread sofiatan
Found the error myself. It works fine now :) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4012448#4012448 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4012448 ___ jboss-user