Skip to content

jdbc: Support transaction savepoints #177

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
nicktorwald opened this issue May 6, 2019 · 1 comment
Open

jdbc: Support transaction savepoints #177

nicktorwald opened this issue May 6, 2019 · 1 comment
Labels
blocked Not ready to be implemented jdbc

Comments

@nicktorwald
Copy link

Related methods:

  • Connection.releaseSavepoint(Savepoint)
  • Connection.rollback(Savepoint)
  • Connection.setSavepoint()
  • Connection.setSavepoint(String)
  • DatabaseMetaData.supportsSavepoints()

Related classes:

  • Savepoint

An example:

conn.createStatement();
int rows = stmt.executeUpdate("INSERT INTO TAB1 (COL1) VALUES (’FIRST’)");
Savepoint svpt1 = conn.setSavepoint("SAVEPOINT_1");
rows = stmt.executeUpdate("INSERT INTO TAB1 (COL1) VALUES (’SECOND’)");
conn.rollback(svpt1);
conn.commit();
@nicktorwald nicktorwald added jdbc blocked Not ready to be implemented labels May 6, 2019
@nicktorwald nicktorwald added this to the JDBC with transactions milestone May 6, 2019
@Totktonada
Copy link
Member

Blocked by tarantool/tarantool#2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked Not ready to be implemented jdbc
Projects
None yet
Development

No branches or pull requests

2 participants