public abstract class IfxCoreDataSource
extends java.lang.Object
implements java.io.Serializable
IfxCoreDataSource class is the abstract class from which IfxDataSource and IfxConnectionPoolDataSource are extended.
DataSource
,
Serialized FormModifier and Type | Field and Description |
---|---|
protected static com.informix.util.AdvancedUppercaseProperties |
defProp |
protected boolean |
directConnection |
protected com.informix.util.AdvancedUppercaseProperties |
DSProperties |
Constructor and Description |
---|
IfxCoreDataSource()
Constructor allocates an empty (i.e., no properties set)
IfxCoreDataSource object.
|
Modifier and Type | Method and Description |
---|---|
void |
addProp(java.lang.String key,
java.lang.Object value)
Adds a property to the property list.
|
java.lang.String |
getDatabaseName()
Gets the database name set for the DataSource.
|
java.lang.String |
getDataSourceName()
Gets the DataSource name.
|
java.lang.String |
getDescription()
Gets the description of the DataSource.
|
java.util.Properties |
getDsProperties()
Returns the Properties objects in the CoreDataSource.
|
java.lang.String |
getIfxALLOWREGISTEROUTFORINPARAM()
Gets the value of Informix specific variable ALLOWREGISTEROUTFORINPARAM.
|
java.lang.String |
getIfxAPPENDISAM()
Gets the value of Informix specific variable APPENDISAM
|
int |
getIfxBIG_FET_BUF_SIZE()
Gets the value of Informix specific variable BIG_FET_BUF_SIZE
|
java.lang.String |
getIfxCLIENT_LOCALE()
Gets the value of Informix specific variable CLIENT_LOCALE.
|
java.lang.String |
getIfxCSM()
Gets the value of Informix specific variable CSM.
|
java.lang.String |
getIfxDB_LOCALE()
Gets the value of Informix specific variable DBLOCALE.
|
java.lang.String |
getIfxDBCENTURY()
Gets the value of Informix specific variable DBCENTURY.
|
java.lang.String |
getIfxDBDATE()
Gets the value of Informix specific variable DBDATE.
|
java.lang.String |
getIfxDBSPACETEMP()
Gets the value of Informix specific variable DBSPACETEMP.
|
java.lang.String |
getIfxDBTEMP()
Gets the value of Informix specific variable DBTEMP.
|
java.lang.String |
getIfxDBTIME()
Gets the value of Informix specific variable DBTIME.
|
java.lang.String |
getIfxDBUPSPACE()
Gets the value of Informix specific variable DBUPSPACE.
|
boolean |
getIfxENABLE_HDRSWITCH()
Gets the value of Informix specific variable ENABLE_HDRSWITCH.
|
int |
getIfxFET_BUF_SIZE()
Gets the value of Informix specific variable FET_BUF_SIZE
|
java.lang.String |
getIfxGL_DATE()
Gets the value of Informix specific variable GL_DATE.
|
java.lang.String |
getIfxGL_DATETIME()
Gets the value of Informix specific variable GL_DATETIME.
|
int |
getIfxIFX_BATCHUPDATE_PER_SPEC()
Gets the value of Informix specific variable IFX_BATCHUPDATE_PER_SPEC.
|
int |
getIfxIFX_CODESETLOB()
Gets the value of Informix specific variable IFX_CODESETLOB.
|
java.lang.String |
getIfxIFX_DIRECTIVES()
Gets the value of Informix specific variable IFX_DIRECTIVES.
|
java.lang.String |
getIfxIFX_EXTDIRECTIVES()
Gets the value of Informix specific variable IFX_EXTDIRECTIVES.
|
int |
getIfxIFX_FLAT_UCSQ()
Gets the value of Informix specific variable IFX_FLAT_UCSQ.
|
int |
getIfxIFX_GET_SMFLOAT_AS_FLOAT()
Gets the value of Informix specific variable IFX_GET_SMFLOAT_AS_FLOAT.
|
java.lang.String |
getIfxIFX_ISOLATION_LEVEL()
Gets the value of Informix specific variable IFX_ISOLATION_LEVEL.
|
int |
getIfxIFX_LO_READONLY()
Gets the value of Informix specific variable IFX_LO_READONLY.
|
int |
getIfxIFX_LOCK_MODE_WAIT()
Gets the value of Informix specific variable IFX_LOCK_MODE_WAIT.
|
java.lang.String |
getIfxIFX_PAD_VARCHAR()
Gets the value of Informix specific variable IFX_PAD_VARCHAR.
|
int |
getIfxIFX_SET_FLOAT_AS_SMFLOAT()
Gets the value of Informix specific variable IFX_SET_FLOAT_AS_SMFLOAT.
|
boolean |
getIfxIFX_SOC_KEEPALIVE() |
int |
getIfxIFX_SOC_TIMEOUT() |
int |
getIfxIFX_TRIMTRAILINGSPACES()
Gets the value of Informix specific variable IFX_TRIMTRAILINGSPACES.
|
boolean |
getIfxIFX_USE_STRENC() |
java.lang.String |
getIfxIFXHOST_SECONDARY()
Gets the value of Informix specific variable IFXHOST_SECONDARY.
|
java.lang.String |
getIfxIFXHOST()
Gets the value of Informix specific variable IFXHOST.
|
int |
getIfxINFORMIXCONRETRY()
Gets the value of Informix specific variable INFORMIXCONRETRY.
|
int |
getIfxINFORMIXCONTIME()
Gets the value of Informix specific variable INFORMIXCONTIME.
|
java.lang.String |
getIfxINFORMIXOPCACHE()
Gets the value of Informix specific variable INFORMIXOPCACHE.
|
java.lang.String |
getIfxINFORMIXSERVER_SECONDARY()
Gets the value of Informix specific variable INFORMIXSERVER_SECONDARY.
|
int |
getIfxINFORMIXSTACKSIZE()
Gets the value of Informix specific variable INFORMIXSTACKSIZE.
|
java.lang.String |
getIfxJDBCTEMP()
Gets the value of Informix specific variable JDBCTEMP.
|
java.lang.String |
getIfxLDAP_IFXBASE()
Gets the value of Informix specific variable LDAP_IFXBASE.
|
java.lang.String |
getIfxLDAP_PASSWD()
Gets the value of Informix specific variable LDAP_PASSWD.
|
java.lang.String |
getIfxLDAP_URL()
Gets the value of Informix specific variable LDAP_URL.
|
java.lang.String |
getIfxLDAP_USER()
Gets the value of Informix specific variable LDAP_USER.
|
int |
getIfxLOBCACHE()
Gets the value of Informix specific variable LOBCACHE.
|
java.lang.String |
getIfxNEWCODESET()
Gets the value of Informix specific variable NEWCODESET.
|
java.lang.String |
getIfxNEWLOCALE()
Gets the value of Informix specific variable NEWLOCALE.
|
java.lang.String |
getIfxNEWNLSMAP()
Gets the value of Informix specific variable NEWNLSMAP.
|
java.lang.String |
getIfxNODEFDAC()
Gets the value of Informix specific variable NODEFDAC.
|
java.lang.String |
getIfxOPT_GOAL()
Gets the value of Informix specific variable OPT_GOAL.
|
java.lang.String |
getIfxOPTCOMPIND()
Gets the value of Informix specific variable OPTCOMPIND.
|
java.lang.String |
getIfxOPTOFC()
Gets the value of Informix specific variable OPTOFC.
|
java.lang.String |
getIfxPATH()
Gets the value of Informix specific variable PATH.
|
java.lang.String |
getIfxPDQPRIORITY()
Gets the value of Informix specific variable PDQPRIORITY.
|
java.lang.String |
getIfxPLCONFIG()
Gets the value of Informix specific variable PLCONFIG.
|
java.lang.String |
getIfxPLOAD_LO_PATH()
Gets the value of Informix specific variable PLOAD_LO_PATH.
|
int |
getIfxPORTNO_SECONDARY()
Gets the value of Informix specific variable IFXPORTNO_SECONDARY.
|
int |
getIfxPROTOCOLTRACE()
Gets the value of Informix specific variable PROTOCOLTRACE.
|
java.lang.String |
getIfxPROTOCOLTRACEFILE()
Gets the value of Informix specific variable PROTOCOLTRACEFILE.
|
java.lang.String |
getIfxPROXY()
Gets the value of Informix specific variable PROXY.
|
java.lang.String |
getIfxPSORT_DBTEMP()
Gets the value of Informix specific variable PSORT_DBTEMP.
|
java.lang.String |
getIfxPSORT_NPROCS()
Gets the value of Informix specific variable PSORT_NPROCS.
|
java.lang.String |
getIfxSECURITY()
Gets the value of Informix specific variable SECURITY.
|
java.lang.String |
getIfxSQLH_FILE()
Gets the value of Informix specific variable SQLH_FILE.
|
java.lang.String |
getIfxSQLH_LOC()
Gets the value of Informix specific variable SQLH_LOC.
|
java.lang.String |
getIfxSQLH_TYPE()
Gets the value of Informix specific variable SQLH_TYPE.
|
java.lang.String |
getIfxSQLIDEBUG()
Gets the value of Informix specific variable SQLIDEBUG.
|
java.lang.String |
getIfxSSL_PROTOCOLS()
Returns the list of user provided protocols
|
java.lang.String |
getIfxSSLCONNECTION()
Gets the value of Informix specific variable SSLCONNECTION.
|
java.lang.String |
getIfxSTMT_CACHE()
Gets the value of Informix specific variable STMT_CACHE.
|
int |
getIfxTRACE()
Gets the value of Informix specific variable TRACE.
|
java.lang.String |
getIfxTRACEFILE()
Gets the value of Informix specific variable TRACEFILE.
|
java.lang.String |
getIfxTRUSTED_CONTEXT()
Gets the value of Informix specific variable TRUSTED_CONTEXT
|
int |
getLoginTimeout()
Get the login timeout.
|
java.io.PrintWriter |
getLogWriter()
Gets the logwriter for the DataSource.
|
java.lang.String |
getPassword()
Gets the password for the DataSource.
|
int |
getPortNumber()
Gets the port number for the DataSource.
|
java.lang.Object |
getProp(java.lang.String key)
Get the value of a property from the property list.
|
java.lang.String |
getRoleName()
Gets the role name.
|
java.lang.String |
getServerName()
Gets the server name.
|
java.lang.String |
getUser()
Gets the user id.
|
boolean |
isIfxDBANSIWARN()
Gets the value of Informix specific variable DBANSIWARN.
|
boolean |
isIfxDELIMIDENT()
Gets the value of Informix specific variable DELIMIDENT.
|
boolean |
isIfxENABLE_TYPE_CACHE()
Gets the value of Informix specific variable ENABLE_TYPE_CACHE.
|
boolean |
isIfxIFX_AUTOFREE()
Gets the value of Informix specific variable IFX_AUTOFREE.
|
boolean |
isIfxIFX_USEPUT()
Gets the value of Informix specific variable IFX_USEPUT.
|
boolean |
isIfxOPTOFC()
returns true if OPTOFC=1, false otherwise.
|
boolean |
isIfxUSE_DTENV()
Gets the value of Informix specific variable USE_DTENV.
|
boolean |
isIfxUSEV5SERVER()
Gets the value of Informix specific variable USEV5SERVER.
|
void |
readProperties(java.io.InputStream in)
Reads the properties from an input stream
|
void |
removeProperty(java.lang.String key)
Removes the property from the DataSource property list
|
void |
setAutoCaseSchema(boolean value) |
void |
setCursorHoldability(int value) |
void |
setDatabaseName(java.lang.String dbName)
Sets the database name.
|
void |
setDataSourceName(java.lang.String dsName)
Sets the DataSource name.
|
void |
setDescription(java.lang.String descrip)
Sets the description of the DataSource.
|
void |
setIfxALLOWREGISTEROUTFORINPARAM(java.lang.String ALLOWOUT_Flag)
Sets the value of Informix specific variable ALLOWREGISTEROUTFORINPARAM.
|
void |
setIfxAPPENDISAM(java.lang.String toSet)
Sets the value of Informix specific variable APPENDISAM
|
void |
setIfxBIG_FET_BUF_SIZE(int fetbufsize)
Sets the value of Informix specific variable BIG_FET_BUF_SIZE.
|
void |
setIfxCLIENT_LOCALE(java.lang.String client_locale)
Sets the value of Informix specific variable CLIENT_LOCALE.
|
void |
setIfxCSM(java.lang.String csm)
Sets the value of Informix specific variable CSM.
|
void |
setIfxDB_LOCALE(java.lang.String dblocale)
Sets the value of Informix specific variable DBLOCALE.
|
void |
setIfxDBANSIWARN(boolean dbansiwarn)
Sets the value of Informix specific variable DBANSIWARN.
|
void |
setIfxDBCENTURY(java.lang.String dbcentury)
Sets the value of Informix specific variable DBCENTURY.
|
void |
setIfxDBDATE(java.lang.String dbdate)
Sets the value of Informix specific variable DBDATE.
|
void |
setIfxDBSPACETEMP(java.lang.String dbspacetemp)
Sets the value of Informix specific variable DBSPACETEMP.
|
void |
setIfxDBTEMP(java.lang.String dbtemp)
Sets the value of Informix specific variable DBTEMP.
|
void |
setIfxDBTIME(java.lang.String dbtime)
Sets the value of Informix specific variable DBTIME.
|
void |
setIfxDBUPSPACE(java.lang.String dbupspace)
Sets the value of Informix specific variable DBUPSPACE.
|
void |
setIfxDELIMIDENT(boolean delimident)
Sets the value of Informix specific variable DELIMIDENT.
|
void |
setIfxDirectConnection()
Makes this connection direct to the server.
|
void |
setIfxENABLE_HDRSWITCH(boolean hdrFlag)
Sets the value of Informix specific variable ENABLE_HDRSWITCH.
|
void |
setIfxENABLE_TYPE_CACHE(boolean enableCacheType)
Sets the value of Informix specific variable ENABLE_CACHE_TYPE.
|
void |
setIfxFET_BUF_SIZE(int fetbufsize)
Sets the value of Informix specific variable FET_BUF_SIZE.
|
void |
setIfxGL_DATE(java.lang.String gldate)
Sets the value of Informix specific variable GL_DATE.
|
void |
setIfxGL_DATETIME(java.lang.String gldatetime)
Sets the value of Informix specific variable GL_DATETIME.
|
void |
setIfxIFX_AUTOFREE(boolean ifx_autofree)
Sets the value of Informix specific variable IFXAUTOFREE.
|
void |
setIfxIFX_BATCHUPDATE_PER_SPEC(int bBatchUpdateFlag)
Sets the value of Informix specific variable IFX_BATCHUPDATE_PER_SPEC.
|
void |
setIfxIFX_CODESETLOB(int codesetlobFlag)
Sets the value of Informix specific variable IFX_CODESETLOB.
|
void |
setIfxIFX_DIRECTIVES(java.lang.String ifxdirectvs)
Sets the value of Informix specific variable IFX_DIRECTIVES.
|
void |
setIfxIFX_EXTDIRECTIVES(java.lang.String ifxextdirectvs)
Sets the value of Informix specific variable IFX_EXTDIRECTIVES.
|
void |
setIfxIFX_FLAT_UCSQ(int ifx_flat_ucsq)
Sets the value of Informix specific variable IFX_FLAT_UCSQ.
|
void |
setIfxIFX_GET_SMFLOAT_AS_FLOAT(int mapFloat)
Sets the value of Informix specific variable IFX_GET_SMFLOAT_AS_FLOAT.
|
void |
setIfxIFX_ISOLATION_LEVEL(java.lang.String iso_level)
Sets the value of Informix specific variable IFX_ISOLATION_LEVEL.
|
void |
setIfxIFX_LO_READONLY(int loreadonly)
Sets the value of Informix specific variable IFX_LO_READONLY.
|
void |
setIfxIFX_LOCK_MODE_WAIT(int lockMode)
Sets the value of Informix specific variable IFX_LOCK_MODE_WAIT.
|
void |
setIfxIFX_PAD_VARCHAR(java.lang.String pad_varchar)
Sets the value of Informix specific variable IFX_PAD_VARCHAR
|
void |
setIfxIFX_SET_FLOAT_AS_SMFLOAT(int mapFloat)
Sets the value of Informix specific variable IFX_SET_FLOAT_AS_SMFLOAT.
|
void |
setIfxIFX_SOC_KEEPALIVE(boolean keepalive) |
void |
setIfxIFX_SOC_TIMEOUT(int milliseconds) |
void |
setIfxIFX_TRIMTRAILINGSPACES(int ifx_trimtrailingspaces)
Sets the value of Informix specific variable IFX_TRIMTRAILINGSPACES.
|
void |
setIfxIFX_USE_STRENC(boolean encoption) |
void |
setIfxIFX_USEPUT(boolean ifx_useput)
Sets the value of Informix specific variable IFX_USEPUT.
|
void |
setIfxIFXHOST_SECONDARY(java.lang.String addr)
Sets the value of Informix specific variable IFXHOST_SECONDARY.
|
void |
setIfxIFXHOST(java.lang.String addr)
Sets the value of Informix specific variable IFXHOST.
|
void |
setIfxINFORMIXCONRETRY(int ifx_con_retry)
Sets the value of Informix specific variable INFORMIXCONRETRY.
|
void |
setIfxINFORMIXCONTIME(int contime)
Sets the value of Informix specific variable INFORMIXCONTIME.
|
void |
setIfxINFORMIXOPCACHE(java.lang.String ifxopcache)
Sets the value of Informix specific variable INFORMIXOPCACHE.
|
void |
setIfxINFORMIXSERVER_SECONDARY(java.lang.String servername)
Sets the value of Informix specific variable INFORMIXSERVER_SECONDARY.
|
void |
setIfxINFORMIXSTACKSIZE(int informixstacksize)
Sets the value of Informix specific variable INFORMIXSTACKSIZE.
|
void |
setIfxJDBCTEMP(java.lang.String jdbctemp)
Sets the value of Informix specific variable JDBCTEMP.
|
void |
setIfxLDAP_IFXBASE(java.lang.String ldapIfxBase)
Sets the value of Informix specific variable LDAP_IFXBASE.
|
void |
setIfxLDAP_PASSWD(java.lang.String ldapPasswd)
Sets the value of Informix specific variable LDAP_PASSWD.
|
void |
setIfxLDAP_URL(java.lang.String ldapUrl)
Sets the value of Informix specific variable LDAP_URL.
|
void |
setIfxLDAP_USER(java.lang.String ldapUser)
Sets the value of Informix specific variable LDAP_USER.
|
void |
setIfxLOBCACHE(int lobCacheSize)
Sets the value of Informix specific variable LOBCACHE.
|
void |
setIfxNEWCODESET(java.lang.String newcodeset)
Sets the value of Informix specific variable NEWCODESET.
|
void |
setIfxNEWLOCALE(java.lang.String newlocale)
Sets the value of Informix specific variable NEWLOCALE.
|
void |
setIfxNEWNLSMAP(java.lang.String nlsmap)
Sets the value of Informix specific variable NEWNLSMAP.
|
void |
setIfxNODEFDAC(java.lang.String defdac)
Sets the value of Informix specific variable NODEFDAC.
|
void |
setIfxOPT_GOAL(java.lang.String opt_goal)
Sets the value of Informix specific variable OPT_GOAL.
|
void |
setIfxOPTCOMPIND(java.lang.String optcompind)
Sets the value of Informix specific variable OPTCOMPIND.
|
void |
setIfxOPTOFC(java.lang.String optofc)
Sets the value of Informix specific variable OPTOFC.
|
void |
setIfxPATH(java.lang.String path)
Sets the value of Informix specific variable PATH.
|
void |
setIfxPDQPRIORITY(java.lang.String pqqpriority)
Sets the value of Informix specific variable PDQPRIORITY.
|
void |
setIfxPLCONFIG(java.lang.String plconfig)
Sets the value of Informix specific variable PLCONFIG.
|
void |
setIfxPLOAD_LO_PATH(java.lang.String ploadlopath)
Sets the value of Informix specific variable PLOAD_LO_PATH.
|
void |
setIfxPORTNO_SECONDARY(int portNo)
Sets the value of Informix specific variable PORTNO_SEONDARY.
|
void |
setIfxPROTOCOLTRACE(int pLevel)
Sets the value of Informix specific variable PROTOCOLTRACE.
|
void |
setIfxPROTOCOLTRACEFILE(java.lang.String fname)
Sets the value of Informix specific variable PROTOCOLTRACEFILE.
|
void |
setIfxPROXY(java.lang.String proxy)
Sets the value of Informix specific variable PROXY.
|
void |
setIfxPSORT_DBTEMP(java.lang.String psortdbtemp)
Sets the value of Informix specific variable PSORT_DBTEMP.
|
void |
setIfxPSORT_NPROCS(java.lang.String psortnprocs)
Sets the value of Informix specific variable PSORT_NPROCS.
|
void |
setIfxSECURITY(java.lang.String security)
Sets the value of Informix specific variable SECURITY.
|
void |
setIfxSQLH_FILE(java.lang.String sqlHFile)
Sets the value of Informix specific variable SQLH_FILE.
|
void |
setIfxSQLH_LOC(java.lang.String sqlhloc)
Sets the value of Informix specific variable SQLH_LOC.
|
void |
setIfxSQLH_TYPE(java.lang.String sqlHType)
Sets the value of Informix specific variable SQLH_TYPE.
|
void |
setIfxSQLIDEBUG(java.lang.String fname)
Sets the value of Informix specific variable SQLIDEBUG.
|
void |
setIfxSSL_PROTOCOLS(java.lang.String protocols)
Sets the preferred list of protocols the driver will use
Provided protocols must be available in the underlying JRE the driver is executed with
Provide a single protocol or a comma separated list of protocols
|
void |
setIfxSSLCONNECTION(java.lang.String ssl_connection)
Sets the value of Informix specific variable SSLCONNECTION.
|
void |
setIfxSTMT_CACHE(java.lang.String stmt_cache)
Sets the value of Informix specific variable STMT_CACHE.
|
void |
setIfxTRACE(int tLevel)
Sets the value of Informix specific variable TRACE.
|
void |
setIfxTRACEFILE(java.lang.String fname)
Sets the value of Informix specific variable TRACEFILE.
|
void |
setIfxTRUSTED_CONTEXT(java.lang.String trustedContext)
Sets the value of Informix specific variable TRUSTED_CONTEXT.
|
void |
setIfxUSE_DTENV(boolean use_dtenv)
Sets the value of Informix specific variable USE_DTENV.
|
void |
setIfxUSEV5SERVER(boolean useV5server)
Sets the value of Informix specific variable USEV5SERVER.
|
void |
setLoginTimeout(int seconds)
Sets the login time out.
|
void |
setLogWriter(java.io.PrintWriter out)
Sets the logwriter for the DataSource.
|
void |
setMetadataUppercaseValues(boolean value) |
void |
setPassword(java.lang.String passwd)
sets the password to be used to connect to the database.
|
void |
setPortNumber(int portNo)
Sets the port number to be used to connect to the database.
|
void |
setRoleName(java.lang.String roleNm)
Sets the role name for the DataSource.
|
void |
setServerName(java.lang.String ServerNm)
Sets the name of the server instance.
|
void |
setTrustStore(java.lang.String trustStore)
Sets the SSL TrustStore you want to use for SSL connections
|
void |
setTrustStorePassword(java.lang.String trustStorePassword)
Set the password used to unlock the trust store
|
void |
setUser(java.lang.String iuser)
Sets the user id to be used to connect with this DataSource.
|
java.lang.String |
toString() |
void |
writeProperties(java.io.OutputStream out)
Writes the properties of the DataSource to an outputstream.
|
protected static final com.informix.util.AdvancedUppercaseProperties defProp
protected final com.informix.util.AdvancedUppercaseProperties DSProperties
protected boolean directConnection
public IfxCoreDataSource()
public int getLoginTimeout()
public void setLoginTimeout(int seconds)
seconds
- the timeout value.public java.lang.String getIfxAPPENDISAM()
public void setIfxAPPENDISAM(java.lang.String toSet)
toSet
- the value for APPENDISAM.public java.io.PrintWriter getLogWriter()
public void setLogWriter(java.io.PrintWriter out)
out
- the logwriter.public java.util.Properties getDsProperties()
public void addProp(java.lang.String key, java.lang.Object value)
key
- the key for this property.value
- the value for this property.public java.lang.Object getProp(java.lang.String key)
key
- the key of the property that is to be retrieved.public void writeProperties(java.io.OutputStream out) throws java.io.IOException
out
- the stream to which the properties are to be written.java.io.IOException
- when an I/O error is encountered while writing
to the output stream.public void readProperties(java.io.InputStream in) throws java.io.IOException
in
- the inputstream from which the properties are to be read.java.io.IOException
- when an I/O error is encountered while reading
from the input stream.public java.lang.String getDatabaseName()
public void setDatabaseName(java.lang.String dbName)
dbName
- the name of the database.public java.lang.String getDataSourceName()
public void setDataSourceName(java.lang.String dsName)
dsName
- the name.public java.lang.String getDescription()
public void setDescription(java.lang.String descrip)
descrip
- the description of the DataSource.public java.lang.String getPassword()
public void setPassword(java.lang.String passwd)
passwd
- the password.public int getPortNumber()
public void setPortNumber(int portNo)
portNo
- the port numberpublic java.lang.String getRoleName()
public void setRoleName(java.lang.String roleNm)
roleNm
- the role name.public java.lang.String getServerName()
public void setServerName(java.lang.String ServerNm)
ServerNm,
- the server name.public java.lang.String getIfxTRUSTED_CONTEXT()
public void setIfxTRUSTED_CONTEXT(java.lang.String trustedContext)
trustedContext
- the value for TRUSTED_CONTEXT.public void setIfxDirectConnection()
public java.lang.String getUser()
public void setUser(java.lang.String iuser)
iuser
- the user id.public void setIfxPORTNO_SECONDARY(int portNo)
portno
- the port number of the host on which the secondary in
HDR server is running.public int getIfxPORTNO_SECONDARY()
public void setIfxIFXHOST_SECONDARY(java.lang.String addr)
addr
- the address or name of the host on which the secondary in
HDR server is running.public java.lang.String getIfxIFXHOST_SECONDARY()
public void setIfxINFORMIXSERVER_SECONDARY(java.lang.String servername)
servername
- the name of the secondary informix server in
HDR server is running.public java.lang.String getIfxINFORMIXSERVER_SECONDARY()
public void setIfxENABLE_HDRSWITCH(boolean hdrFlag)
hdrFlag
- the flag to enable switching between HDR server ONpublic boolean getIfxENABLE_HDRSWITCH()
public java.lang.String getIfxIFXHOST()
public void setIfxIFXHOST(java.lang.String addr)
addr
- the address or name of the host on which the server is
running.public java.lang.String getIfxJDBCTEMP()
public void setIfxJDBCTEMP(java.lang.String jdbctemp)
jdbctemp
- the value for JDBCTEMP.public java.lang.String getIfxSECURITY()
public java.lang.String getIfxCSM()
public void setIfxSECURITY(java.lang.String security)
security
- the value for SECURITY.public void setIfxCSM(java.lang.String csm)
security
- the value for CSM.public java.lang.String getIfxPROXY()
public void setIfxPROXY(java.lang.String proxy)
proxy
- the proxy server.public boolean isIfxENABLE_TYPE_CACHE()
public void setIfxENABLE_TYPE_CACHE(boolean enableCacheType)
enableCacheType
- the value for ENABLE_CACHE_TYPEpublic java.lang.String getIfxSQLH_TYPE()
public void setIfxSQLH_TYPE(java.lang.String sqlHType)
sqlHType
- the value for SQLH_TYPE.public java.lang.String getIfxSSLCONNECTION()
public void setIfxSSLCONNECTION(java.lang.String ssl_connection)
ssl_connection
- the value for SSLCONNECTION.public java.lang.String getIfxSSL_PROTOCOLS()
public void setTrustStore(java.lang.String trustStore)
trustStore
- Path to the TrustStore/keystorepublic void setTrustStorePassword(java.lang.String trustStorePassword)
trustStorePassword
- Password for the TrustStorepublic void setIfxSSL_PROTOCOLS(java.lang.String protocols)
protocols
- One or more SSL protocols to usepublic java.lang.String getIfxSQLH_FILE()
public void setIfxSQLH_FILE(java.lang.String sqlHFile)
sqlHFile
- the value for SQLH_FILE.public java.lang.String getIfxLDAP_URL()
public void setIfxLDAP_URL(java.lang.String ldapUrl)
ldapUrl
- value for LDAP_URL.public java.lang.String getIfxLDAP_IFXBASE()
public void setIfxLDAP_IFXBASE(java.lang.String ldapIfxBase)
ldapIfxbase
- value for LDAP_IFXBASE.public java.lang.String getIfxLDAP_USER()
public void setIfxLDAP_USER(java.lang.String ldapUser)
ldapUser
- value for LDAP_USERpublic java.lang.String getIfxLDAP_PASSWD()
public void setIfxLDAP_PASSWD(java.lang.String ldapPasswd)
ldapPasswd
- the value of LDAP_PASSWD.public java.lang.String getIfxSQLH_LOC()
public void setIfxSQLH_LOC(java.lang.String sqlhloc)
sqlhloc
- the value of SQLH_LOC.public int getIfxFET_BUF_SIZE()
public void setIfxFET_BUF_SIZE(int fetbufsize)
fetbufsize
- the value of FET_BUF_SIZE.public int getIfxBIG_FET_BUF_SIZE()
public void setIfxBIG_FET_BUF_SIZE(int fetbufsize)
fetbufsize
- the value of BIG_FET_BUF_SIZE.public boolean isIfxUSEV5SERVER()
public void setIfxUSEV5SERVER(boolean useV5server)
useV5server
- are we talking to a version 5 server.public int getIfxLOBCACHE()
public void setIfxLOBCACHE(int lobCacheSize)
lobCacheSize
- the size of LOBCACHE.public boolean isIfxIFX_USEPUT()
public void setIfxIFX_USEPUT(boolean ifx_useput)
ifx_autofree
- the value for IFX_USEPUT.public boolean isIfxIFX_AUTOFREE()
public void setIfxIFX_AUTOFREE(boolean ifx_autofree)
ifx_autofree
- the value for IFXAUTOFREE.public boolean isIfxDELIMIDENT()
public void setIfxDELIMIDENT(boolean delimident)
delimdent
- the value of DELIMIDENT.public int getIfxINFORMIXSTACKSIZE()
public void setIfxINFORMIXSTACKSIZE(int informixstacksize)
informixstacksize
- the value of INFORMIXSTACKSIZE.public java.lang.String getIfxDBSPACETEMP()
public void setIfxDBSPACETEMP(java.lang.String dbspacetemp)
dbspacetemp
- the value of DBSPACETEMP.public java.lang.String getIfxDB_LOCALE()
public void setIfxDB_LOCALE(java.lang.String dblocale)
dblocale
- the value of DB_LOCALE.public java.lang.String getIfxCLIENT_LOCALE()
public void setIfxCLIENT_LOCALE(java.lang.String client_locale)
client_locale
- the value of CLIENT_LOCALE.public java.lang.String getIfxNEWLOCALE()
public java.lang.String getIfxNEWNLSMAP()
public void setIfxNEWLOCALE(java.lang.String newlocale)
client_locale
- the value of NEWLOCALE.public void setIfxNEWNLSMAP(java.lang.String nlsmap)
value
- of NEWNLSMAP.public java.lang.String getIfxNEWCODESET()
public void setIfxNEWCODESET(java.lang.String newcodeset)
client_locale
- the value of NEWCODESET.public java.lang.String getIfxDBDATE()
public void setIfxDBDATE(java.lang.String dbdate)
dbdate
- the value of DBDATE.public java.lang.String getIfxGL_DATE()
public void setIfxGL_DATE(java.lang.String gldate)
gldate
- the value of GL_DATE.public java.lang.String getIfxDBTIME()
public void setIfxDBTIME(java.lang.String dbtime)
dbtime
- the value of DBTIME.public java.lang.String getIfxGL_DATETIME()
public void setIfxGL_DATETIME(java.lang.String gldatetime)
gldatetime
- the value of GL_DATETIME.public boolean isIfxUSE_DTENV()
public void setIfxUSE_DTENV(boolean use_dtenv)
use_dtenv
- the value of USE_DTENV.public java.lang.String getIfxDBCENTURY()
public void setIfxDBCENTURY(java.lang.String dbcentury)
dbcentury
- the value of DBCENTURY.public java.lang.String getIfxSTMT_CACHE()
public void setIfxSTMT_CACHE(java.lang.String stmt_cache)
stmt_cache
- the value of STMT_CACHE.public java.lang.String getIfxNODEFDAC()
public void setIfxNODEFDAC(java.lang.String defdac)
defdac
- the value of NODEFDAC.public java.lang.String getIfxDBTEMP()
public void setIfxDBTEMP(java.lang.String dbtemp)
dbtemp
- the value of DBTEMP.public java.lang.String getIfxPSORT_DBTEMP()
public void setIfxPSORT_DBTEMP(java.lang.String psortdbtemp)
psortdbtemp
- the value of PSORT_DBTEMP.public java.lang.String getIfxPSORT_NPROCS()
public void setIfxPSORT_NPROCS(java.lang.String psortnprocs)
psortnprocs
- the value of PSORT_NPROCS.public java.lang.String getIfxDBUPSPACE()
public void setIfxDBUPSPACE(java.lang.String dbupspace)
dbupspace
- the value of DBUPSPACE.public java.lang.String getIfxPDQPRIORITY()
public void setIfxPDQPRIORITY(java.lang.String pqqpriority)
pdqpriority
- the value of PDQPRIORITY.public java.lang.String getIfxIFX_DIRECTIVES()
public void setIfxIFX_DIRECTIVES(java.lang.String ifxdirectvs)
ifxdirectvs
- the value of IFX_DIRECTIVES.public java.lang.String getIfxIFX_EXTDIRECTIVES()
public void setIfxIFX_EXTDIRECTIVES(java.lang.String ifxextdirectvs)
ifxextdirectvs
- the value of IFX_EXTDIRECTIVES.public java.lang.String getIfxOPTCOMPIND()
public void setIfxOPTCOMPIND(java.lang.String optcompind)
optcompind
- the value of OPTCOMPIND.public int getIfxINFORMIXCONRETRY()
public void setIfxINFORMIXCONRETRY(int ifx_con_retry)
ifx_con_retry
- the value of INFORMIXCONRETRY.public int getIfxINFORMIXCONTIME()
public void setIfxINFORMIXCONTIME(int contime)
contime
- the value of INFORMIXCONTIME.public java.lang.String getIfxINFORMIXOPCACHE()
public void setIfxINFORMIXOPCACHE(java.lang.String ifxopcache)
ifxopcache
- the value of INFORMIXOPCACHE.public java.lang.String getIfxPLCONFIG()
public void setIfxPLCONFIG(java.lang.String plconfig)
plconfig
- the value of PLCONFIG.public java.lang.String getIfxPATH()
public void setIfxPATH(java.lang.String path)
path
- the value of PATH.public java.lang.String getIfxPLOAD_LO_PATH()
public void setIfxPLOAD_LO_PATH(java.lang.String ploadlopath)
ploadlopath
- the value of PLOAD_LO_PATH.public java.lang.String getIfxOPT_GOAL()
public void setIfxOPT_GOAL(java.lang.String opt_goal)
opt_goal
- the value of OPT_GOAL.public java.lang.String getIfxOPTOFC()
public void setIfxOPTOFC(java.lang.String optofc)
optofc
- the value of OPTOFC.public boolean isIfxOPTOFC()
public boolean isIfxDBANSIWARN()
public void setIfxDBANSIWARN(boolean dbansiwarn)
dbansiwarn
- the value of DBANSIWARN.public void setIfxIFX_GET_SMFLOAT_AS_FLOAT(int mapFloat)
mapFloat
- the switch to enable mapping of JDBC FLOAT to Java floatpublic int getIfxIFX_GET_SMFLOAT_AS_FLOAT()
public void setIfxIFX_SET_FLOAT_AS_SMFLOAT(int mapFloat)
mapFloat
- the switch to enable mapping of Java float to JDBC FLOATpublic int getIfxIFX_SET_FLOAT_AS_SMFLOAT()
public void setIfxIFX_CODESETLOB(int codesetlobFlag)
codesetlobFlag
- if set, will enable codeset conversion of
large objects.public int getIfxIFX_CODESETLOB()
public void setIfxIFX_BATCHUPDATE_PER_SPEC(int bBatchUpdateFlag)
bBatchUpdateFlag
- if set to 1, will enable batch update as per JDBC specspublic int getIfxIFX_BATCHUPDATE_PER_SPEC()
public void setIfxIFX_LO_READONLY(int loreadonly)
loreadonly
- if set to 1, will open CLOB/BLOB as READONLYpublic int getIfxIFX_LO_READONLY()
public void setIfxIFX_LOCK_MODE_WAIT(int lockMode)
lockMode
- if set to -1, will set lock mode to NOT WAIT, else wait for locMode secondspublic int getIfxIFX_LOCK_MODE_WAIT()
public void setIfxIFX_ISOLATION_LEVEL(java.lang.String iso_level)
iso_level
- if set to 0 - set isolation to dirty read,
1 - set isolation to committed read,
2 - set isolation to cursor stability,
3 - set isolation to repeatable read,
4 - set isolation to committed read last committed
U specifies ' retain update locks'
e.g. iso_level = '1U',public java.lang.String getIfxIFX_ISOLATION_LEVEL()
public void setIfxIFX_USE_STRENC(boolean encoption)
public boolean getIfxIFX_USE_STRENC()
public void setIfxIFX_SOC_TIMEOUT(int milliseconds)
public int getIfxIFX_SOC_TIMEOUT()
public void setIfxIFX_SOC_KEEPALIVE(boolean keepalive)
public boolean getIfxIFX_SOC_KEEPALIVE()
public void setIfxIFX_PAD_VARCHAR(java.lang.String pad_varchar)
pad_varchar
- if set to 0 enables variable length
transmission of varchars
if set to 1 disables variable length
transmission of varcharspublic java.lang.String getIfxIFX_PAD_VARCHAR()
public int getIfxTRACE()
public void setIfxTRACE(int tLevel)
tLevel
- the value of TRACE.public int getIfxPROTOCOLTRACE()
public void setIfxPROTOCOLTRACE(int pLevel)
pLevel
- the value of PROTOCOLTRACE.public java.lang.String getIfxTRACEFILE()
public void setIfxTRACEFILE(java.lang.String fname)
fname
- the value of TRACEFILE.public java.lang.String getIfxPROTOCOLTRACEFILE()
public void setIfxPROTOCOLTRACEFILE(java.lang.String fname)
fname
- the value of PROTOCOLTRACEFILE.public java.lang.String getIfxSQLIDEBUG()
public void setIfxSQLIDEBUG(java.lang.String fname)
fname
- Path for file which will be used to log sqli trace
A new trace file is generated for every connection.
Provided file name is suffixed with timestamp.public void setIfxALLOWREGISTEROUTFORINPARAM(java.lang.String ALLOWOUT_Flag)
ALLOWREGISTEROUTFORINPARAM_Flag
- if ("y" or "Y")
enables this non-JDBC spec behavior
otherwise this behavior will be disabled.
Default ALLOWREGISTEROUTFORINPARAM is "n"public java.lang.String getIfxALLOWREGISTEROUTFORINPARAM()
public int getIfxIFX_TRIMTRAILINGSPACES()
public void setIfxIFX_TRIMTRAILINGSPACES(int ifx_trimtrailingspaces)
ifx_trimtrailingspaces
- the value for IFX_TRIMTRAILINGSPACES.public int getIfxIFX_FLAT_UCSQ()
public void setIfxIFX_FLAT_UCSQ(int ifx_flat_ucsq)
ifx_flat_ucsq
- the value for IFX_FLAT_UCSQ.public void setMetadataUppercaseValues(boolean value)
public void setAutoCaseSchema(boolean value)
public void setCursorHoldability(int value)
public void removeProperty(java.lang.String key)
key
- Property to be removedpublic java.lang.String toString()
toString
in class java.lang.Object