public class RDBMSHelper extends Object
| Constructor and Description |
|---|
RDBMSHelper() |
| Modifier and Type | Method and Description |
|---|---|
static Connection |
getConnection(String dataSourceName)
get connection object for the instance.
|
static String |
getMetadataTypes(String dbType,
String dataType)
Get metadata type(linear,ordinal,time) for the given data type of the data base.
|
static void |
setDataSourceService(org.wso2.carbon.datasource.core.api.DataSourceService dataSourceService) |
public static Connection getConnection(String dataSourceName) throws SQLException, org.wso2.carbon.datasource.core.exception.DataSourceException
SQLExceptionorg.wso2.carbon.datasource.core.exception.DataSourceExceptionpublic static String getMetadataTypes(String dbType, String dataType)
dbType - String name of the database that the datatype belongsdataType - String data type name provided by the result set metadatapublic static void setDataSourceService(org.wso2.carbon.datasource.core.api.DataSourceService dataSourceService)
Copyright © 2017 WSO2. All rights reserved.