How to use JDBC 11g Commit Options
(Doc ID 580123.1)
Last updated on AUGUST 09, 2023
Applies to:
JDBC - Version 11.1.0.6 and laterInformation in this document applies to any platform.
Goal
The JDBC 11g driver introduces a new feature allowing a JDBC commit to be issued using a CommitOption. These options are specified using a new JDK 1.5 construct called an enumeration.
The enumeration is actually a set of CommitOption values :
java.util.EnumSet<OracleConnection.CommitOption>
This note supplies a simple syntax example of how to specify multiple commit options.
The details of what these commit options do is documented in the JDBC 11.1 Javadocs for
- oracle.jdbc Interface OracleConnection
- oracle.jdbc Enum OracleConnection.CommitOption
Solution
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Goal |
Solution |