Package com.salesforce.datacloud.jdbc
Class DataCloudJDBCDriver
java.lang.Object
com.salesforce.datacloud.jdbc.DataCloudJDBCDriver
- All Implemented Interfaces:
Driver
Provides a JDBC driver for `jdbc:salesforce-datacloud:` URLs.
This provides integration with JDBC's `DriverManager.getConnection()` interface.
In modern applications, you should prefer using the `DataCloudDatasource` class, as
it provides a type-safe way to create a DataCloudConnection.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanacceptsURL(String url) com.salesforce.datacloud.jdbc.core.DataCloudConnectionconnect(@NonNull String url, Properties info) intintgetPropertyInfo(String url, Properties info) boolean
-
Constructor Details
-
DataCloudJDBCDriver
public DataCloudJDBCDriver()
-
-
Method Details
-
connect
public com.salesforce.datacloud.jdbc.core.DataCloudConnection connect(@NonNull @NonNull String url, Properties info) throws SQLException - Specified by:
connectin interfaceDriver- Throws:
SQLException
-
acceptsURL
- Specified by:
acceptsURLin interfaceDriver
-
getPropertyInfo
- Specified by:
getPropertyInfoin interfaceDriver
-
getMajorVersion
public int getMajorVersion()- Specified by:
getMajorVersionin interfaceDriver
-
getMinorVersion
public int getMinorVersion()- Specified by:
getMinorVersionin interfaceDriver
-
jdbcCompliant
public boolean jdbcCompliant()- Specified by:
jdbcCompliantin interfaceDriver
-
getParentLogger
- Specified by:
getParentLoggerin interfaceDriver
-