public interface WSConnectionSpec
extends javax.resource.cci.ConnectionSpec
A ConnectionSpec interface provided for applications using the javax.resource.cci interfaces to specify Connection properties available on the WebSphere Relational Resource Adapter.
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCatalog()
Get the catalog name.
|
int |
getHoldability()
Get the cursor holdability value.
|
java.lang.String |
getPassword()
Get the password.
|
java.util.Map |
getTypeMap()
Get the type map, which is used for the custom mapping of SQL structured types and
distinct types.
|
java.lang.String |
getUserName()
Get the user name.
|
java.lang.Boolean |
isReadOnly()
Get the read-only indicator for the database.
|
void |
setCatalog(java.lang.String catalog)
Set the catalog name.
|
void |
setHoldability(int holdability)
Set the cursor holdability value.
|
void |
setPassword(java.lang.String pwd)
Set the password.
|
void |
setReadOnly(java.lang.Boolean readOnly)
Indicate whether the connection is read only.
|
void |
setTypeMap(java.util.Map map)
Set the type map for this connection.
|
void |
setUserName(java.lang.String userName)
Set the user name.
|
java.lang.String getCatalog()
java.lang.String getPassword()
java.util.Map getTypeMap()
int getHoldability()
Get the cursor holdability value. If the JDBC driver doesn't support cursor holdability feature, 0 is returned.
java.lang.String getUserName()
java.lang.Boolean isReadOnly()
void setCatalog(java.lang.String catalog)
catalog
- the catalog name.void setPassword(java.lang.String pwd)
pwd
- the password.void setReadOnly(java.lang.Boolean readOnly)
readOnly
- a flag indicating whether the connection is read only.void setTypeMap(java.util.Map map)
typeMap
- the type map.void setUserName(java.lang.String userName)
userName
- the user name.void setHoldability(int holdability)
holdability
- the cursor holdability