Connection
- Last Updated: March 6, 2025
- Hybrid Data Pipeline
- Version 4.6
- Documentation
| Connection Methods | Version Introduced | Supported | Comments |
|---|---|---|---|
void clearWarnings()
|
1.0 | Yes | |
void close()
|
1.0 | Yes | If a connection is closed while a transaction is still active, that transaction is rolled back. |
void commit()
|
1.0 | Yes | |
Blob createBlob()
|
4.0 | Yes | |
Clob createClob()
|
4.0 | Yes | |
NClob createNClob()
|
4.0 | Yes | |
SQLXML createSQLXML()
|
4.0 | Yes | |
Statement createStatement()
|
1.0 | Yes | |
Statement createStatement(int, int)
|
2.0 Core | Yes | Salesforce-type data stores: Scroll-sensitive result sets are expensive from both a Web service call perspective and a performance perspective. The driver expends a network round trip for each row that is fetched. |
Statement createStatement(int, int,
int)
|
3.0 | No | The driver throws an "unsupported method" exception. |
Struct createStruct(String, Object[])
|
1.0 | No | The driver throws an "unsupported method" exception. |
boolean getAutoCommit()
|
1.0 | Yes | |
String getCatalog()
|
1.0 | Yes | Salesforce-type data stores: The driver returns an empty string because this data store does not have the concept of a catalog. |
String getClientInfo()
|
4.0 | No | |
String getClientInfo(String)
|
4.0 | No | |
int getHoldability()
|
3.0 | Yes | |
DatabaseMetaData getMetaData()
|
1.0 | Yes | |
int getTransactionIsolation()
|
1.0 | Yes | |
Map getTypeMap()
|
2.0 Core | Yes | The driver always returns an empty
java.util.HashMap. |
SQLWarning getWarnings()
|
1.0 | Yes | |
boolean isClosed()
|
1.0 | Yes | |
boolean isReadOnly()
|
1.0 | Yes | |
boolean isValid()
|
4.0 | Yes | |
boolean isWrapperFor(Class<?>
iface)
|
4.0 | Yes | |
String nativeSQL(String)
|
1.0 | Yes | The driver always returns the same value that was passed in from the application. |
CallableStatement prepareCall(String)
|
1.0 | Yes | |
CallableStatement prepareCall(String, int,
int)
|
2.0 Core | Yes | Salesforce-type data stores: The driver
downgrades ResultSet.TYPE_SCROLL_SENSITIVE to TYPE_SCROLL_INSENSITIVE. |
CallableStatement prepareCall(String, int, int,
int)
|
3.0 | No | The driver throws an "unsupported method" exception. |
PreparedStatement prepareStatement
(String)
|
1.0 | Yes | |
PreparedStatement prepareStatement
(String, int)
|
3.0 | Yes | |
PreparedStatement prepareStatement
(String, int, int)
|
2.0 Core | Yes | Salesforce-type data stores: Scroll-sensitive result sets are expensive from both a Web service call perspective and a performance perspective. The driver expends a network round trip for each row that is fetched. |
PreparedStatement prepareStatement
(String, int, int, int)
|
3.0 | No | The driver throws an "unsupported method" exception. |
PreparedStatement prepareStatement
(String, int[])
|
3.0 | No | The driver throws an "unsupported method" exception. |
PreparedStatement prepareStatement
(String, String [])
|
3.0 | No | The driver throws an "unsupported method" exception. |
void releaseSavepoint(Savepoint)
|
3.0 | No | The driver throws an "unsupported method" exception. |
void rollback()
|
1.0 | Yes | |
void rollback(Savepoint)
|
3.0 | No | The driver throws an "unsupported method" exception. |
void setAutoCommit(boolean)
|
1.0 | Yes | Salesforce-type data stores: The driver throws a "transactions not supported" exception if set to false. |
void setCatalog(String)
|
1.0 | Yes | Salesforce-type data stores: The driver ignores any value set by the String argument because this data store does not have the concept of a catalog. |
String setClientInfo(Properties)
|
4.0 | No | |
String setClientInfo(String, String)
|
4.0 | No | |
void setHoldability(int)
|
3.0 | Yes | The driver ignores this method. |
void setReadOnly(boolean)
|
1.0 | Yes | |
Savepoint setSavepoint()
|
3.0 | No | The driver throws an "unsupported method" exception. |
Savepoint setSavepoint(String)
|
3.0 | No | The driver throws an "unsupported method" exception. |
void setTransactionIsolation(int)
|
1.0 | Yes | Salesforce-type data stores: The driver ignores the specified transaction isolation level. |
void setTypeMap(Map)
|
2.0 Core | Yes | The driver ignores the Map parameter. |
<T> T unwrap(Class<T>
iface)
|
4.0 | Yes |