Using sum in hibernate criteria

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP


Using sum in hibernate criteria



How can I express this query in hibernate criteria??


select
SUM (tabla2.valor1)
from tabla1
INNER JOIN tabla2
ON tabla1.ID = tabla2.ID
where tabla1.ID = 1



Thanks!









By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Popular posts from this blog

Visual Studio Code: How to configure includePath for better IntelliSense results

Spring cloud config client Could not locate PropertySource

Makefile test if variable is not empty