Hi, i work with Hibernate 3 in Eclipse and Jboss.
hibernate console 3.1
I configured hibernate console in order to execute some HQL queries. I had some erros cause of some mappings :
in a query, i wrote "select new ClassDTO(p, count(*)) from Param p..."
(it's an exemple).
The problem is that the constructor of the ClassDTO takes 2 parameters :
one for "Param" and another "Long" for the count(*).
When i launch JBoss and my application, all work, but i want to launch the hibernate console, i have erros. The solution is to put the second parameters in Integer in order hibernate console works. But then Jboss d'ont work !!
JBoss work with Long
hibernate console work with Integer
I tried to install hibernate console 3.2 but eclipe don't want to start then !!
Can you help me ?
thanks.
Antoine
|