java123999
java123999

Reputation: 7394

Saving the state of an oracle database to revert back to?

I am creating with a Java application that uses has persistable data.

I am testing it with an Oracle Database, using SQLDeveloper.

Currently, in order to populate the database with test data I do so by using my application. When I stop running my application the data is removed from the DB.

Is there a way that I can save the state of the database so that I can revert to it than populating it through my application?

Upvotes: 2

Views: 326

Answers (1)

Alexander
Alexander

Reputation: 1421

I suggest that you need it while testing, not in production. Oracle Database provides a technology called Flashback. It allows setting back the database to a certain time in the past. If it is available in your license variant, you may want to give it a try.

Upvotes: 3

Related Questions