| Author |
"select new Constructor" in HQL
|
nimo frey
Ranch Hand
Joined: Jun 28, 2008
Posts: 580
|
|
I have a strange failure:
I have a constructor with fullfills this:
(intValueA, intValueB are Integers)
this works.
This works, too:
But when I use the sum-aggregation:
this failure occurs:
My Constructor:
Why does my Constructor not work, when I use the SUM-Aggregation???
|
 |
nimo frey
Ranch Hand
Joined: Jun 28, 2008
Posts: 580
|
|
Okay, solved.
The datatypes were wrong. I have used Integer instead of Long.
|
 |
 |
|
|
subject: "select new Constructor" in HQL
|
|
|