Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Connection connection;
- connection = DriverManager.getConnection( "jdbc:derby:myDb" ); //connection to the Database with the data from 2017-04-05
- connection.close();
- connection = DriverManager.getConnection( "jdbc:derby:myDb;restoreFrom=/backup/2017-04-04/myDb" )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement