Answer the question
In order to leave comments, you need to log in
How to add value using Criteria API (SET column = column + :value)?
It is necessary in the abstract class through the Criteria API to add a value to the existing one in the database. Those. analogue of the expression:
UPDATE Entity SET column = column + :value WHERE id = :id
I can't figure out how to formulate the column = column + :value part
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question