com.oceanbase.jdbc.ObPrepareStatement is an interface that provides methods specific to OceanBase Connector/J in Oracle mode.
The following table lists the methods supported by com.oceanbase.jdbc.ObPrepareStatement.
| Method | Return type | Supported in Oracle mode | Supported in MySQL mode |
|---|---|---|---|
| setINTERVALDS(int parameterIndex, INTERVALDS intervalds) | void | Yes | No |
| setINTERVALYM(int parameterIndex, INTERVALYM intervalym) | void | Yes | No |
| setTIMESTAMP(int parameterIndex, Timestamp timestamp) | void | Yes | No |
| setTIMESTAMPLTZ(int parameterIndex, TIMESTAMPLTZ timestampltz) | void | Yes | No |
| setTIMESTAMPTZ(int parameterIndex, TIMESTAMPTZ timestamptz) | void | Yes | No |
| setFixedCHAR(int parameterIndex, String parameterStr) | void | Yes | No |