DbSettings

Inheritance: java.lang.Object

public abstract class DbSettings

Allows to specify settings to read from project database.

Methods

MethodDescription
getConnectionString()Gets the connection string.
getDriverClassName()Returns a name of JDBC driver class.
setConnectionString(String value)Sets the connection string.
setDriverClassName(String value)Sets a name of JDBC driver class.

getConnectionString()

public final String getConnectionString()

Gets the connection string.

Returns: java.lang.String - the connection string.

getDriverClassName()

public final String getDriverClassName()

Returns a name of JDBC driver class. The default driver class name is “com.microsoft.jdbc.sqlserver.SQLServerDriver”

Returns: java.lang.String - driver class string.

setConnectionString(String value)

public final void setConnectionString(String value)

Sets the connection string.

Parameters:

ParameterTypeDescription
valuejava.lang.Stringthe connection string.

setDriverClassName(String value)

public final void setDriverClassName(String value)

Sets a name of JDBC driver class. The default driver class name is “com.microsoft.jdbc.sqlserver.SQLServerDriver”

Parameters:

ParameterTypeDescription
valuejava.lang.Stringa name of JDBC driver class.