#
pmgahan
Hi Martijn,
I´m trying to get the sum of a column on the database table and I get the following error:
The column attribute is not declared.
This is what I use in my hbm file:
property name="balance">
formula SELECT SUM (actt.amount) FROM cm_acc_transaction actt /formula>
/property
How would you do this?
I´m trying to get the sum of a column on the database table and I get the following error:
The column attribute is not declared.
This is what I use in my hbm file:
property name="balance">
formula SELECT SUM (actt.amount) FROM cm_acc_transaction actt /formula>
/property
How would you do this?