Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

update query jpa


@Modifying(clearAutomatically = true)
@Query("update RssFeedEntry feedEntry set feedEntry.read =:isRead where feedEntry.id =:entryId")
void markEntryAsRead(@Param("entryId") Long rssFeedEntryId, @Param("isRead") boolean isRead);

Source by coders911.org #
 
PREVIOUS NEXT
Tagged: #update #query #jpa
ADD COMMENT
Topic
Name
8+5 =