olavloite / spanner-jdbc

JDBC Driver for Google Cloud Spanner
MIT License
38 stars 10 forks source link

Task #31 - Add support for savepoints #42

Closed olavloite closed 6 years ago

olavloite commented 6 years ago

Adds support for generated and named savepoints. As mutations are only sent to Cloud Spanner at commit time, rolling back to a savepoint is nothing more than discarding all buffered mutations that have been added after a specified savepoint.