Can I update record without select via spring repository? Like in CassandraTemplate

Viewed 10

Example. I have table

tableName(
first varchar,
second varchar
);

Via CassandraTemplate I can do:

insert into tableName(first, second) values ("test", "test")

When I want to update only first column I can use

insert into tableName(first) values ("updated")

Can I do something like this via Spring Data's repository without calling findById() first?

0 Answers
Related