DbSettings
Inheritance: java.lang.Object
public abstract class DbSettings
Allows to specify settings to read from project database.
Methods
Method | Description |
---|---|
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:
Parameter | Type | Description |
---|---|---|
value | java.lang.String | the 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:
Parameter | Type | Description |
---|---|---|
value | java.lang.String | a name of JDBC driver class. |