S
S
shortname2015-09-09 09:48:00
Java
shortname, 2015-09-09 09:48:00

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 question

Ask a Question

731 491 924 answers to any question