author & internet detective
posted 3 years ago
You could use the update syntas of HQL. That is usually only used for bulk updates though. To just update one record you could select by id, update the values in the object and use Hibernate's update API.