-
getConnectionSecurityLevel()
Returns an int representing the current Connection Security Level setting.
int getConnectionSecurityLevel()
-
getDatabaseName()
Returns a String representing the current database (InterSystems IRIS namespace) name.
String getDatabaseName()
-
getDataSourceName()
Returns a String representing the current data source name.
String getDataSourceName()
-
getDefaultTransactionIsolation()
Gets the current default transaction isolation.
int getDefaultTransactionIsolation()
-
getDescription()
Returns a String representing the current description.
String getDescription()
-
getEventClass()
Returns a String representing an Event Class object.
String getEventClass()
-
getKeyRecoveryPassword()
Returns a String representing the current Key Recovery Password setting.
getKeyRecoveryPassword()
-
getNodelay()
Returns a boolean representing a current TCP_NODELAY option setting.
boolean getNodelay()
-
getPassword()
Returns a String representing the current password.
String getPassword()
-
getPortNumber()
Returns an int representing the current port number.
int getPortNumber()
-
getServerName()
Returns a String representing the current server name.
String getServerName()
-
getServicePrincipalName()
Returns a String representing the current Service Principal Name setting.
String getServicePrincipalName()
-
getSSLConfigurationName()
Returns a String representing the current TLS Configuration Name setting.
getSSLConfigurationName()
-
getURL()
Returns a String representing a current URL for this connection.
String getURL()
-
getUser()
Returns a String representing the current username.
String getUser()
-
setConnectionSecurityLevel()
Sets the connection security level
Sets the Connection Security Level for this DataSource object.
-
setDatabaseName()
Sets the database name (InterSystems IRIS namespace) for this connection.
void setDatabaseName(String dn)
-
setDataSourceName()
Sets the data source name for this connection. DataSourceName is an optional setting and is not used by IRISDataSource to connect.
void setDataSourceName(String dsn)
-
setDefaultTransactionIsolation()
Sets the default transaction isolation level.
void setDefaultTransactionIsolation(int level)
-
setDescription()
Sets the description for this connection. Description is an optional setting and is not used by IRISDataSource to connect.
void setDescription(String d)
-
setEventClass()
Sets the Event Class for this connection. The Event Class is a mechanism specific to InterSystems IRIS JDBC. It is completely optional, and the vast majority of applications will not need this feature.
The InterSystems JDBC server will dispatch to methods implemented in a class when a transaction is about to be committed and when a transaction is about to be rolled back. The class in which these methods are implemented is referred to as the “event class.” If an event class is specified during login, then the JDBC server will dispatch to %OnTranCommit just prior to committing the current transaction and will dispatch to %OnTranRollback just prior to rolling back (aborting) the current transaction. User event classes should extend %ServerEvent. The methods do not return any values and cannot abort the current transaction.
void setEventClass(String e)
-
setKeyRecoveryPassword()
Sets the Key Recovery Password for this connection.
setKeyRecoveryPassword(java.lang.String password)
-
setLogFile()
Unconditionally sets the log file name for this connection.
setLogFile(java.lang.String logFile)
-
setNodelay()
Sets the TCP_NODELAY option for this connection. Toggling this flag can affect the performance of the application. If not set, it defaults to true.
void setNodelay(boolean nd)
-
setPassword()
Sets the password for this connection.
void setPassword(String p)
-
setPortNumber()
Sets the port number for this connection
void setPortNumber(int pn)
-
setServerName()
Sets the server name for this connection.
void setServerName(String sn)
-
setServicePrincipalName()
Sets the Service Principal Name for this connection.
void setServicePrincipalName(String name)
-
setSSLConfigurationName()
Sets the TLS Configuration Name for this connection.
setSSLConfigurationName(java.lang.String name)
-
setURL()
Sets the URL for this connection.
void setURL(String u)
-
setUser()
Sets the username for this connection.
void setUser(String u)