Class JdbcSavepoint
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-26 (世界標準時間)。
[null,null,["上次更新時間:2025-07-26 (世界標準時間)。"],[[["\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."]]