Constructor and Description |
---|
SQLDatasource() |
Modifier and Type | Method and Description |
---|---|
void |
closeConnectionPool() |
BValue |
copy() |
String |
getConnectorId() |
String |
getDatabaseName()
Get the database name.
|
String |
getDatabaseProductName()
Get the database product name.
|
String |
getPeerAddress()
Get the peer address of this datasource.
|
Connection |
getSQLConnection() |
BType |
getType() |
XADataSource |
getXADataSource() |
boolean |
init(Struct options,
String url,
String dbType,
String hostOrPath,
int port,
String username,
String password,
String dbName,
String dbOptions) |
boolean |
isXAConnection() |
String |
stringValue() |
public boolean init(Struct options, String url, String dbType, String hostOrPath, int port, String username, String password, String dbName, String dbOptions)
public String getPeerAddress()
public String getDatabaseName()
public String getDatabaseProductName()
public Connection getSQLConnection()
public String getConnectorId()
public boolean isXAConnection()
public XADataSource getXADataSource()
public void closeConnectionPool()
public String stringValue()
stringValue
in interface BValue
Copyright © 2018 WSO2. All rights reserved.