Class JdbcSavepoint
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2025-07-26 UTC.
[null,null,["Cập nhật lần gần đây nhất: 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."]]