Class StiMsSqlAdapter
java.lang.Object
com.stimulsoft.report.dictionary.adapters.StiAbstractAdapter
com.stimulsoft.report.dictionary.adapters.StiMsSqlAdapter
MsSqlAdapter.
host={myServerAddress} port={myPort}default 1433 1433; data source={myDataBase}; username={user name}; password={user password};
example
host=ALEKSEY-PC\SQLEXPRESS; port=1433; databaseName=mybase; username=test; password=test;
Copyright Stimulsoft
-
Field Summary
Fields inherited from class com.stimulsoft.report.dictionary.adapters.StiAbstractAdapter
OVERRIDE_CONNECTION_STRING, parsedParameters, URL_KEYS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringClass<? extends StiDataSource> protected StringMethods inherited from class com.stimulsoft.report.dictionary.adapters.StiAbstractAdapter
create, create, getDataBase, getDriverKeys, getHost, getJdbcParameters, getLeastOne, getLeastOne, getParams, getParsedParameters, getPassword, getPort, getPortKey, getUrlKeys, getUser, hasLeastOne, hasLeastOne, validation
-
Constructor Details
-
StiMsSqlAdapter
-
-
Method Details
-
getConnectionURL
- Specified by:
getConnectionURLin classStiAbstractAdapter
-
getDriverName
- Specified by:
getDriverNamein classStiAbstractAdapter
-
getDefaultPort
- Specified by:
getDefaultPortin classStiAbstractAdapter
-
getHostKey
- Overrides:
getHostKeyin classStiAbstractAdapter- Returns:
StiAbstractAdapter.HOST_KEY
-
getDatabaseName
- Overrides:
getDatabaseNamein classStiAbstractAdapter- Returns:
StiAbstractAdapter.DATABASE_KEY
-
getInstance
-
getDataSourceClass
- Specified by:
getDataSourceClassin classStiAbstractAdapter
-