public interface VerticaConnection
extends java.sql.Connection
Modifier and Type | Method and Description |
---|---|
VerticaDatabaseErrorInfo |
getLastDatabaseError()
Returns information about the most recent database error that occurred on this connection.
|
java.lang.Object |
getProperty(java.lang.String name)
Returns the value of a Vertica specific property on this connection.
|
void |
setProperty(java.lang.String name,
java.lang.Object value)
Sets a Vertica specific property on this connection.
|
clearWarnings, close, commit, createArrayOf, createBlob, createClob, createNClob, createSQLXML, createStatement, createStatement, createStatement, createStruct, getAutoCommit, getCatalog, getClientInfo, getClientInfo, getHoldability, getMetaData, getTransactionIsolation, getTypeMap, getWarnings, isClosed, isReadOnly, isValid, nativeSQL, prepareCall, prepareCall, prepareCall, prepareStatement, prepareStatement, prepareStatement, prepareStatement, prepareStatement, prepareStatement, releaseSavepoint, rollback, rollback, setAutoCommit, setCatalog, setClientInfo, setClientInfo, setHoldability, setReadOnly, setSavepoint, setSavepoint, setTransactionIsolation, setTypeMap
void setProperty(java.lang.String name, java.lang.Object value) throws java.sql.SQLException
Sets a Vertica specific property on this connection.
Normally a connection's properties are determined by the connection string when the connection is created. This method allows some properties to be changed after the Connection has been created. Any Statement or PreparedStatement created by this connection will inherit the property values set here.
name
- The name of a connection property.value
- The value of the connection property.java.sql.SQLException
- If name is not a valid property name or value is not a valid property value.java.lang.Object getProperty(java.lang.String name) throws java.sql.SQLException
name
- The name of the property to look up.java.sql.SQLException
- If the property lookup fails because of an invalid name.VerticaDatabaseErrorInfo getLastDatabaseError()