question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Apply TTL via CrudRepository.save(…) [DATACASS-534]

See original GitHub issue

SanjayAgnani opened DATACASS-534 and commented

Hello guys , I would like to know if we can insert /update row with an feature of TTL in Spring Data Cassandra using repository interfaces. Able to delete/select based on below method declaration

@AllowFiltering
public void deleteByfirstnameAndLastname(String fn, String ln);

Looking for something similar to insert /save using TTL support


0 votes, 5 watchers

Issue Analytics

  • State:open
  • Created 6 years ago
  • Reactions:2
  • Comments:10

github_iconTop GitHub Comments

2reactions
yuranichcommented, Jun 23, 2022

Hi team, any update on this? Having this feature would be awesome!

0reactions
nikhilvagyanicommented, Sep 12, 2022

Hi team, is any latest version supported for dynamic ttl values while inserting data? or when you are planning to include these feature?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Spring Data - CrudRepository save() Method
Learn how to save and update entities to a database using Spring Data CrudRepository.
Read more >
TTL support in spring boot application using spring-data- ...
Extend CassandraRepository to add save method that accepts TTL ... @Override public <S extends T> S save(S entity, int ttl) { InsertOptions ...
Read more >
CrudRepository (Spring Data Core 3.0.0 API)
Saves a given entity. Use the returned instance for further operations as the save operation might have changed the entity instance completely.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found