updating multiple rows using JPA

I want to update all fields of a table that has value of colum NAME as 'PCNAME'. The table name which i want to update is XYZ.I want to update only some fields and not keep some unchanged.

This will affect many rows and not a single row as there will be many rows with NAME='PCNAME' Как я могу сделать это с помощью JPA. У меня есть класс сущности, связанный с этой таблицей.

10
задан Sean Patrick Floyd 1 November 2010 в 15:24
поделиться