Class JdbcSavepoint
Stay organized with collections
Save and categorize content based on your preferences.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-12-02 UTC.
[null,null,["Last updated 2024-12-02 UTC."],[[["\u003cp\u003e\u003ccode\u003eJdbcSavepoint\u003c/code\u003e is a JDBC wrapper for the standard \u003ccode\u003ejava.sql.Savepoint\u003c/code\u003e interface, used for transaction management.\u003c/p\u003e\n"],["\u003cp\u003eIt provides two main methods: \u003ccode\u003egetSavepointId()\u003c/code\u003e to retrieve the savepoint's numeric ID, and \u003ccode\u003egetSavepointName()\u003c/code\u003e to retrieve its name.\u003c/p\u003e\n"],["\u003cp\u003eFull documentation and details for these methods are available in the official Java SE 6 API documentation for \u003ccode\u003ejava.sql.Savepoint\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Class JdbcSavepoint\n\nJdbcSavepoint\n\nA JDBC `Savepoint`. For documentation of this class, see [`java.sql.Savepoint\n`](https://docs.oracle.com/javase/6/docs/api/java/sql/Savepoint.html). \n\n### Methods\n\n| Method | Return type | Brief description |\n|-------------------------------------------|-------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [getSavepointId()](#getSavepointId()) | `Integer` | For documentation of this method, see [`java.sql.Savepoint#getSavepointId()`](https://docs.oracle.com/javase/6/docs/api/java/sql/Savepoint.html#getSavepointId()). |\n| [getSavepointName()](#getSavepointName()) | `String` | For documentation of this method, see [`java.sql.Savepoint#getSavepointName()`](https://docs.oracle.com/javase/6/docs/api/java/sql/Savepoint.html#getSavepointName()). |\n\nDetailed documentation\n----------------------\n\n### `get``Savepoint``Id()`\n\nFor documentation of this method, see [`java.sql.Savepoint#getSavepointId()`](https://docs.oracle.com/javase/6/docs/api/java/sql/Savepoint.html#getSavepointId()).\n\n#### Return\n\n\n`Integer` --- The numeric ID of this savepoint.\n\n*** ** * ** ***\n\n### `get``Savepoint``Name()`\n\nFor documentation of this method, see [`java.sql.Savepoint#getSavepointName()`](https://docs.oracle.com/javase/6/docs/api/java/sql/Savepoint.html#getSavepointName()).\n\n#### Return\n\n\n`String` --- The name of this savepoint."]]