mik
mik

Reputation: 53

JPA: Building way to persist data only for a period of time

Is there any existing mechanism in JPA, to persist data only for a period of time? After this lifespan the data should be dropped.

So that there is no need for polling to cleanup old persisted data.

Upvotes: 1

Views: 98

Answers (1)

Mikko Maunu
Mikko Maunu

Reputation: 42114

No, there is no such a mechanism in JPA.

Upvotes: 1

Related Questions