Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2025/07/26 (UTC).
[[["Facile à comprendre","easyToUnderstand","thumb-up"],["J'ai pu résoudre mon problème","solvedMyProblem","thumb-up"],["Autre","otherUp","thumb-up"]],[["Il n'y a pas l'information dont j'ai besoin","missingTheInformationINeed","thumb-down"],["Trop compliqué/Trop d'étapes","tooComplicatedTooManySteps","thumb-down"],["Obsolète","outOfDate","thumb-down"],["Problème de traduction","translationIssue","thumb-down"],["Mauvais exemple/Erreur de code","samplesCodeIssue","thumb-down"],["Autre","otherDown","thumb-down"]],["Dernière mise à jour le 2025/07/26 (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."]]