private void
readConnectionProperties(java.lang.String s, java.util.Properties
properties)
throws
java.sql.SQLException
{
java.lang.String s1 = null;
s1 = null;
if(properties != null)
s1 =
properties.getProperty("oracle.jdbc.RetainV9LongBindBehavior");
if(s1 == null)
s1 =
oracle.jdbc.driver.PhysicalConnection.getSystemProperty("oracle.jdbc.RetainV9LongBindBehavior",
null);
if(s1 == null)
s1 =
"false";
retainV9BindBehavior = s1 != null
&&
s1.equalsIgnoreCase("true");
s1 = null;
if(properties != null)
{
s1 =
properties.getProperty("user");
if(s1 ==
null)
s1 =
properties.getProperty("oracle.jdbc.user");
}
if(s1 == null)
s1 =
oracle.jdbc.driver.PhysicalConnection.getSystemProperty("oracle.jdbc.user",
null);
if(s1 == null)
s1 =
null;
userName = s1;
s1 = null;
if(properties != null)
{
s1 =
properties.getProperty("database");
if(s1 ==
null)
s1 =
properties.getProperty("oracle.jdbc.database");
}
if(s1 == null)
s1 =
oracle.jdbc.driver.PhysicalConnection.getSystemProperty("oracle.jdbc.database",
null);
if(s1 == null)
s1 =
null;
database = s1;
s1 = null;
if(properties != null)
{
s1 =
properties.getProperty("autoCommit");
if(s1 ==
null)
s1 =
properties.getProperty("oracle.jdbc.autoCommit");
}
if(s1 == null)
s1 =
oracle.jdbc.driver.PhysicalConnection.getSystemProperty("oracle.jdbc.autoCommit",
null);
if(s1 == null)
s1 =
"true";
autocommit = s1 != null
&&
s1.equalsIgnoreCase("true");
s1 = null;
if(properties != null)
{
s1 =
properties.getProperty("protocol");
if(s1 ==
null)
s1 =
properties.getProperty("oracle.jdbc.protocol");
}
if(s1 == null)
s1 =
oracle.jdbc.driver.PhysicalConnection.getSystemProperty("oracle.jdbc.protocol",
null);
if(s1 == null)
s1 =
null;
protocol = s1;
s1 = null;
if(properties != null)
s1 =
properties.getProperty("oracle.jdbc.StreamChunkSize");
if(s1 == null)
s1 =
oracle.jdbc.driver.PhysicalConnection.getSystemProperty("oracle.jdbc.StreamChunkSize",
null);
if(s1 == null)
s1 =
"16384";
try
{
streamChunkSize =
java.lang.Integer.parseInt(s1);
}
catch(java.lang.NumberFormatException
numberformatexception)
{
oracle.jdbc.driver.DatabaseError.throwSqlException(getConnectionDuringExceptionHandling(),
190, "Property is 'streamChunkSize'");
}
s1 = null;
if(properties != null)
{
s1 =
properties.getProperty("SetFloatAndDoubleUseBinary");
if(s1 ==
null)
s1 =
properties.getProperty("oracle.jdbc.SetFloatAndDoubleUseBinary");
}
if(s1 == null)
s1 =
oracle.jdbc.driver.PhysicalConnection.getSystemProperty("oracle.jdbc.SetFloatAndDoubleUseBinary",
null);
if(s1 == null)
s1 =
"false";
setFloatAndDoubleUseBinary = s1 != null
&&
s1.equalsIgnoreCase("true");
s1 = null;
if(properties != null)
s1 =
properties.getProperty("oracle.jdbc.ocinativelibrary");
if(s1 == null)
s1 =
oracle.jdbc.driver.PhysicalConnection.getSystemProperty("oracle.jdbc.ocinativelibrary",
null);
if(s1 == null)
s1 =
null;
ocidll = s1;
s1 = null;
if(properties != null)
{
s1 =
properties.getProperty("v$session.terminal");
if(s1 ==
null)
s1 =
properties.getProperty("oracle.jdbc.v$session.terminal");
}
if(s1 == null)
s1 =
oracle.jdbc.driver.PhysicalConnection.getSystemProperty("oracle.jdbc.v$session.terminal",
null);
if(s1 == null)
s1 =
"unknown";
thinVsessionTerminal = s1;
s1 = null;
if(properties != null)
{
s1 =
properties.getProperty("v$session.machine");
if(s1 ==
null)
s1 =
properties.getProperty("oracle.jdbc.v$session.machine");
}
if(s1 == null)
s1 =
oracle.jdbc.driver.PhysicalConnection.getSystemProperty("oracle.jdbc.v$session.machine",
null);
if(s1 == null)
s1 =
null;
thinVsessionMachine = s1;
s1 = null;
if(properties != null)
{
s1 =
properties.getProperty("v$session.osuser");
if(s1 ==
null)
s1 =
properties.getProperty("oracle.jdbc.v$session.osuser");
}
if(s1 == null)
s1 =
oracle.jdbc.driver.PhysicalConnection.getSystemProperty("oracle.jdbc.v$session.osuser",
null);
if(s1 == null)
s1 =
null;
thinVsessionOsuser = s1;
s1 = null;
if(properties != null)
{
s1 =
properties.getProperty("v$session.program");
if(s1 ==
null)
s1 =
properties.getProperty("oracle.jdbc.v$session.program");
}
if(s1 == null)
s1 =
oracle.jdbc.driver.PhysicalConnection.getSystemProperty("oracle.jdbc.v$session.program",
null);
if(s1 == null)
s1 = "JDBC
Thin Client";
thinVsessionProgram = s1;
s1 = null;
if(properties != null)
{
s1 =
properties.getProperty("v$session.process");
if(s1 ==
null)
s1 =
properties.getProperty("oracle.jdbc.v$session.process");
}
if(s1 == null)
s1 =
oracle.jdbc.driver.PhysicalConnection.getSystemProperty("oracle.jdbc.v$session.process",
null);
if(s1 == null)
s1 =
"1234";
thinVsessionProcess = s1;
s1 = null;
if(properties != null)
{
s1 =
properties.getProperty("v$session.iname");
if(s1 ==
null)
s1 =
properties.getProperty("oracle.jdbc.v$session.iname");
}
if(s1 == null)
s1 =
oracle.jdbc.driver.PhysicalConnection.getSystemProperty("oracle.jdbc.v$session.iname",
null);
if(s1 == null)
s1 =
"jdbc_ttc_impl";
thinVsessionIname = s1;
s1 = null;
if(properties != null)
{
s1 =
properties.getProperty("v$session.ename");
if(s1 ==
null)
s1 =
properties.getProperty("oracle.jdbc.v$session.ename");
}
if(s1 == null)
s1 =
oracle.jdbc.driver.PhysicalConnection.getSystemProperty("oracle.jdbc.v$session.ename",
null);
if(s1 == null)
s1 =
null;
thinVsessionEname = s1;
s1 = null;
if(properties != null)
s1 =
properties.getProperty("oracle.net.profile");
if(s1 == null)
s1 =
oracle.jdbc.driver.PhysicalConnection.getSystemProperty("oracle.net.profile",
null);
if(s1 == null)
s1 =
null;
thinNetProfile = s1;
s1 = null;
if(properties != null)
s1 =
properties.getProperty("oracle.net.authentication_services");
if(s1 == null)
s1 =
oracle.jdbc.driver.PhysicalConnection.getSystemProperty("oracle.net.authentication_services",
null);
if(s1 == null)
s1 =
null;
thinNetAuthenticationServices = s1;
s1 = null;
if(properties != null)
s1 =
properties.getProperty("oracle.net.kerberos5_mutual_authentication");
if(s1 == null)
s1 =
oracle.jdbc.driver.PhysicalConnection.getSystemProperty("oracle.net.kerberos5_mutual_authentication",
null);
if(s1 == null)
s1 =
null;
thinNetAuthenticationKrb5Mutual = s1;
s1 = null;
if(properties != null)
s1 =
properties.getProperty("oracle.net.kerberos5_cc_name");
if(s1 == null)
s1 =
oracle.jdbc.driver.PhysicalConnection.getSystemProperty("oracle.net.kerberos5_cc_name",
null);
if(s1 == null)
s1 =
null;
thinNetAuthenticationKrb5CcName = s1;
s1 = null;
if(properties != null)
s1 =
properties.getProperty("oracle.net.encryption_client");
if(s1 == null)
s1 =
oracle.jdbc.driver.PhysicalConnection.getSystemProperty("oracle.net.encryption_client",
null);
if(s1 == null)
s1 =
null;
thinNetEncryptionLevel = s1;
s1 = null;
if(properties != null)
s1 =
properties.getProperty("oracle.net.encryption_types_client");
if(s1 == null)
s1 =
oracle.jdbc.driver.PhysicalConnection.getSystemProperty("oracle.net.encryption_types_client",
null);
if(s1 == null)
s1 =
null;
thinNetEncryptionTypes = s1;
s1 = null;
if(properties != null)
s1 =
properties.getProperty("oracle.net.crypto_checksum_client");
if(s1 == null)
s1 =
oracle.jdbc.driver.PhysicalConnection.getSystemProperty("oracle.net.crypto_checksum_client",
null);
if(s1 == null)
s1 =
null;
thinNetChecksumLevel = s1;
s1 = null;
if(properties != null)
s1 =
properties.getProperty("oracle.net.crypto_checksum_types_client");
if(s1 == null)
s1 =
oracle.jdbc.driver.PhysicalConnection.getSystemProperty("oracle.net.crypto_checksum_types_client",
null);
if(s1 == null)
s1 =
null;
thinNetChecksumTypes = s1;
s1 = null;
if(properties != null)
s1 =
properties.getProperty("oracle.net.crypto_seed");
if(s1 == null)
s1 =
oracle.jdbc.driver.PhysicalConnection.getSystemProperty("oracle.net.crypto_seed",
null);
if(s1 == null)
s1 =
null;
thinNetCryptoSeed = s1;
s1 = null;
if(properties != null)
s1 =
properties.getProperty("oracle.jdbc.TcpNoDelay");
if(s1 == null)
s1 =
oracle.jdbc.driver.PhysicalConnection.getSystemProperty("oracle.jdbc.TcpNoDelay",
null);
if(s1 == null)
s1 =
"false";
thinTcpNoDelay = s1 != null
&&
s1.equalsIgnoreCase("true");
s1 = null;
if(properties != null)
s1 =
properties.getProperty("oracle.jdbc.ReadTimeout");
if(s1 == null)
s1 =
oracle.jdbc.driver.PhysicalConnection.getSystemProperty("oracle.jdbc.ReadTimeout",
null);
if(s1 == null)
s1 =
null;
thinReadTimeout = s1;
s1 = null;
if(properties != null)
s1 =
properties.getProperty("oracle.net.CONNECT_TIMEOUT");
if(s1 == null)
s1 =
oracle.jdbc.driver.PhysicalConnection.getSystemProperty("oracle.net.CONNECT_TIMEOUT",
null);
if(s1 == null)
s1 =
null;
thinNetConnectTimeout = s1;
s1 = null;
if(properties != null)
s1 =
properties.getProperty("oracle.net.disableOob");
if(s1 == null)
s1 =
oracle.jdbc.driver.PhysicalConnection.getSystemProperty("oracle.net.disableOob",
null);
if(s1 == null)
s1 =
"false";
thinNetDisableOutOfBandBreak = s1 != null
&&
s1.equalsIgnoreCase("true");
s1 = null;
if(properties != null)
s1 =
properties.getProperty("oracle.jdbc.use1900AsYearForTime");
if(s1 == null)
s1 =
oracle.jdbc.driver.PhysicalConnection.getSystemProperty("oracle.jdbc.use1900AsYearForTime",
null);
if(s1 == null)
s1 =
"false";
use1900AsYearForTime = s1 != null
&&
s1.equalsIgnoreCase("true");
s1 = null;
if(properties != null)
s1 =
properties.getProperty("oracle.jdbc.timestampTzInGmt");
if(s1 == null)
s1 =
oracle.jdbc.driver.PhysicalConnection.getSystemProperty("oracle.jdbc.timestampTzInGmt",
null);
if(s1 == null)
s1 =
"true";
timestamptzInGmt = s1 != null
&&
s1.equalsIgnoreCase("true");
s1 = null;
if(properties != null)
s1 =
properties.getProperty("oracle.net.ssl_server_dn_match");
if(s1 == null)
s1 =
oracle.jdbc.driver.PhysicalConnection.getSystemProperty("oracle.net.ssl_server_dn_match",
null);
if(s1 == null)
s1 =
null;
thinSslServerDnMatch = s1;
s1 = null;
if(properties != null)
s1 =
properties.getProperty("oracle.net.ssl_version");
if(s1 == null)
s1 =
oracle.jdbc.driver.PhysicalConnection.getSystemProperty("oracle.net.ssl_version",
null);
if(s1 == null)
s1 =
null;
thinSslVersion = s1;
s1 = null;
if(properties != null)
s1 =
properties.getProperty("oracle.net.ssl_cipher_suites");
if(s1 == null)
s1 =
oracle.jdbc.driver.PhysicalConnection.getSystemProperty("oracle.net.ssl_cipher_suites",
null);
if(s1 == null)
s1 =
null;
thinSslCipherSuites = s1;
s1 = null;
if(properties != null)
s1 =
properties.getProperty("javax.net.ssl.keyStore");
if(s1 == null)
s1 =
oracle.jdbc.driver.PhysicalConnection.getSystemProperty("javax.net.ssl.keyStore",
null);
if(s1 == null)
s1 =
null;
thinJavaxNetSslKeystore = s1;
s1 = null;
if(properties != null)
s1 =
properties.getProperty("javax.net.ssl.keyStoreType");
if(s1 == null)
s1 =
oracle.jdbc.driver.PhysicalConnection.getSystemProperty("javax.net.ssl.keyStoreType",
null);
if(s1 == null)
s1 =
null;
thinJavaxNetSslKeystoretype = s1;
s1 = null;
if(properties != null)
s1 =
properties.getProperty("javax.net.ssl.keyStorePassword");
if(s1 == null)
s1 =
oracle.jdbc.driver.PhysicalConnection.getSystemProperty("javax.net.ssl.keyStorePassword",
null);
if(s1 == null)
s1 =
null;
thinJavaxNetSslKeystorepassword = s1;
s1 = null;
if(properties != null)
s1 =
properties.getProperty("javax.net.ssl.trustStore");
if(s1 == null)
s1 =
oracle.jdbc.driver.PhysicalConnection.getSystemProperty("javax.net.ssl.trustStore",
null);
if(s1 == null)
s1 =
null;
thinJavaxNetSslTruststore = s1;
s1 = null;
if(properties != null)
s1 =
properties.getProperty("javax.net.ssl.trustStoreType");
if(s1 == null)
s1 =
oracle.jdbc.driver.PhysicalConnection.getSystemProperty("javax.net.ssl.trustStoreType",
null);
if(s1 == null)
s1 =
null;
thinJavaxNetSslTruststoretype = s1;
s1 = null;
if(properties != null)
s1 =
properties.getProperty("javax.net.ssl.trustStorePassword");
if(s1 == null)
s1 =
oracle.jdbc.driver.PhysicalConnection.getSystemProperty("javax.net.ssl.trustStorePassword",
null);
if(s1 == null)
s1 =
null;
thinJavaxNetSslTruststorepassword = s1;
s1 = null;
if(properties != null)
{
s1 =
properties.getProperty("ssl.keyManagerFactory.algorithm");
if(s1 ==
null)
s1 =
properties.getProperty("oracle.jdbc.ssl.keyManagerFactory.algorithm");
}
if(s1 == null)
s1 =
oracle.jdbc.driver.PhysicalConnection.getSystemProperty("oracle.jdbc.ssl.keyManagerFactory.algorithm",
null);
if(s1 == null)
s1 =
null;
thinSslKeymanagerfactoryAlgorithm = s1;
s1 = null;
if(properties != null)
{
s1 =
properties.getProperty("ssl.trustManagerFactory.algorithm");
if(s1 ==
null)
s1 =
properties.getProperty("oracle.jdbc.ssl.trustManagerFactory.algorithm");
}
if(s1 == null)
s1 =
oracle.jdbc.driver.PhysicalConnection.getSystemProperty("oracle.jdbc.ssl.trustManagerFactory.algorithm",
null);
if(s1 == null)
s1 =
null;
thinSslTrustmanagerfactoryAlgorithm = s1;
s1 = null;
if(properties != null)
s1 =
properties.getProperty("oracle.net.oldSyntax");
if(s1 == null)
s1 =
oracle.jdbc.driver.PhysicalConnection.getSystemProperty("oracle.net.oldSyntax",
null);
if(s1 == null)
s1 =
null;
thinNetOldsyntax = s1;
s1 = null;
if(properties != null)
s1 =
properties.getProperty("java.naming.factory.initial");
if(s1 == null)
s1 =
null;
thinNamingContextInitial= s1;
s1 = null;
if(properties != null)
s1 =
properties.getProperty("java.naming.provider.url");
if(s1 == null)
s1 =
null;
thinNamingProviderUrl = s1;
s1 = null;
if(properties != null)
s1 =
properties.getProperty("java.naming.security.authentication");
if(s1 == null)
s1 =
null;
thinNamingSecurityAuthentication = s1;
s1 = null;
if(properties != null)
s1 =
properties.getProperty("java.naming.security.principal");
if(s1 == null)
s1 =
null;
thinNamingSecurityPrincipal = s1;
s1 = null;
if(properties != null)
s1 =
properties.getProperty("java.naming.security.credentials");
if(s1 == null)
s1 =
null;
thinNamingSecurityCredentials = s1;
s1 = null;
if(properties != null)
s1 =
properties.getProperty("oracle.net.wallet_location");
if(s1 == null)
s1 =
oracle.jdbc.driver.PhysicalConnection.getSystemProperty("oracle.net.wallet_location",
null);
if(s1 == null)
s1 =
null;
walletLocation = s1;
s1 = null;
if(properties != null)
s1 =
properties.getProperty("oracle.net.wallet_password");
if(s1 == null)
s1 =
oracle.jdbc.driver.PhysicalConnection.getSystemProperty("oracle.net.wallet_password",
null);
if(s1 == null)
s1 =
null;
walletPassword = s1;
s1 = null;
if(properties != null)
s1 =
properties.getProperty("oracle.jdbc.proxyClientName");
if(s1 == null)
s1 =
oracle.jdbc.driver.PhysicalConnection.getSystemProperty("oracle.jdbc.proxyClientName",
null);
if(s1 == null)
s1 =
null;
proxyClientName = s1;
s1 = null;
if(properties != null)
{
s1 =
properties.getProperty("JDBCDriverCharSetId");
if(s1 ==
null)
s1 =
properties.getProperty("oracle.jdbc.JDBCDriverCharSetId");
}
if(s1 == null)
s1 =
oracle.jdbc.driver.PhysicalConnection.getSystemProperty("oracle.jdbc.JDBCDriverCharSetId",
null);
if(s1 == null)
s1 =
null;
ociDriverCharset = s1;
s1 = null;
if(properties != null)
s1 =
properties.getProperty("oracle.jdbc.editionName");
if(s1 == null)
s1 =
oracle.jdbc.driver.PhysicalConnection.getSystemProperty("oracle.jdbc.editionName",
null);
if(s1 == null)
s1 =
null;
editionName = s1;
s1 = null;
if(properties != null)
s1 =
properties.getProperty("oracle.jdbc.thinLogonCapability");
if(s1 == null)
s1 =
oracle.jdbc.driver.PhysicalConnection.getSystemProperty("oracle.jdbc.thinLogonCapability",
null);
if(s1 == null)
s1 =
"o5";
logonCap = s1;
s1 = null;
if(properties != null)
{
s1 =
properties.getProperty("internal_logon");
if(s1 ==
null)
s1 =
properties.getProperty("oracle.jdbc.internal_logon");
}
if(s1 == null)
s1 =
oracle.jdbc.driver.PhysicalConnection.getSystemProperty("oracle.jdbc.internal_logon",
null);
if(s1 == null)
s1 =
null;
internalLogon = s1;
s1 = null;
if(properties != null)
s1 =
properties.getProperty("oracle.jdbc.createDescriptorUseCurrentSchemaForSchemaName");
if(s1 == null)
s1 =
oracle.jdbc.driver.PhysicalConnection.getSystemProperty("oracle.jdbc.createDescriptorUseCurrentSchemaForSchemaName",
null);
if(s1 == null)
s1 =
"false";
createDescriptorUseCurrentSchemaForSchemaName =
s1 != null &&
s1.equalsIgnoreCase("true");
s1 = null;
if(properties != null)
{
s1 =
properties.getProperty("OCISvcCtxHandle");
if(s1 ==
null)
s1 =
properties.getProperty("oracle.jdbc.OCISvcCtxHandle");
}
if(s1 == null)
s1 =
oracle.jdbc.driver.PhysicalConnection.getSystemProperty("oracle.jdbc.OCISvcCtxHandle",
null);
if(s1 == null)
s1 =
"0";
try
{
ociSvcCtxHandle =
java.lang.Long.parseLong(s1);
}
catch(java.lang.NumberFormatException
numberformatexception1)
{
oracle.jdbc.driver.DatabaseError.throwSqlException(getConnectionDuringExceptionHandling(),
190, "Property is 'ociSvcCtxHandle'");
}
s1 = null;
if(properties != null)
{
s1 =
properties.getProperty("OCIEnvHandle");
if(s1 ==
null)
s1 =
properties.getProperty("oracle.jdbc.OCIEnvHandle");
}
if(s1 == null)
s1 =
oracle.jdbc.driver.PhysicalConnection.getSystemProperty("oracle.jdbc.OCIEnvHandle",
null);
if(s1 == null)
s1 =
"0";
try
{
ociEnvHandle =
java.lang.Long.parseLong(s1);
}
catch(java.lang.NumberFormatException
numberformatexception2)
{
oracle.jdbc.driver.DatabaseError.throwSqlException(getConnectionDuringExceptionHandling(),
190, "Property is 'ociEnvHandle'");
}
s1 = null;
if(properties != null)
{
s1 =
properties.getProperty("OCIErrHandle");
if(s1 ==
null)
s1 =
properties.getProperty("oracle.jdbc.OCIErrHandle");
}
if(s1 == null)
s1 =
oracle.jdbc.driver.PhysicalConnection.getSystemProperty("oracle.jdbc.OCIErrHandle",
null);
if(s1 == null)
s1 =
"0";
try
{
ociErrHandle =
java.lang.Long.parseLong(s1);
}
catch(java.lang.NumberFormatException
numberformatexception3)
{
oracle.jdbc.driver.DatabaseError.throwSqlException(getConnectionDuringExceptionHandling(),
190, "Property is 'ociErrHandle'");
}
s1 = null;
if(properties != null)
{
s1 =
properties.getProperty("prelim_auth");
if(s1 ==
null)
s1 =
properties.getProperty("oracle.jdbc.prelim_auth");
}
if(s1 == null)
s1 =
oracle.jdbc.driver.PhysicalConnection.getSystemProperty("oracle.jdbc.prelim_auth",
null);
if(s1 == null)
s1 =
"false";
prelimAuth = s1 != null
&&
s1.equalsIgnoreCase("true");
s1 = null;
if(properties != null)
s1 =
properties.getProperty("oracle.jdbc.ociNlsLangBackwardCompatible");
if(s1 == null)
s1 =
oracle.jdbc.driver.PhysicalConnection.getSystemProperty("oracle.jdbc.ociNlsLangBackwardCompatible",
null);
if(s1 == null)
s1 =
"false";
nlsLangBackdoor = s1 != null
&&
s1.equalsIgnoreCase("true");
s1 = null;
if(properties != null)
{
s1 =
properties.getProperty("OCINewPassword");
if(s1 ==
null)
s1 =
properties.getProperty("oracle.jdbc.OCINewPassword");
}
if(s1 == null)
s1 =
oracle.jdbc.driver.PhysicalConnection.getSystemProperty("oracle.jdbc.OCINewPassword",
null);
if(s1 == null)
s1 =
null;
setNewPassword = s1;
s1 = null;
if(properties != null)
s1 =
properties.getProperty("oracle.jdbc.spawnNewThreadToCancel");
if(s1 == null)
s1 =
oracle.jdbc.driver.PhysicalConnection.getSystemProperty("oracle.jdbc.spawnNewThreadToCancel",
null);
if(s1 == null)
s1 =
"false";
spawnNewThreadToCancel = s1 != null
&&
s1.equalsIgnoreCase("true");
s1 = null;
if(properties != null)
{
s1 =
properties.getProperty("defaultExecuteBatch");
if(s1 ==
null)
s1 =
properties.getProperty("oracle.jdbc.defaultExecuteBatch");
}
if(s1 == null)
s1 =
oracle.jdbc.driver.PhysicalConnection.getSystemProperty("oracle.jdbc.defaultExecuteBatch",
null);
if(s1 == null)
s1 =
"1";
try
{
defaultExecuteBatch =
java.lang.Integer.parseInt(s1);
}
catch(java.lang.NumberFormatException
numberformatexception4)
{
oracle.jdbc.driver.DatabaseError.throwSqlException(getConnectionDuringExceptionHandling(),
190, "Property is 'defaultExecuteBatch'");
}
s1 = null;
if(properties != null)
{
s1 =
properties.getProperty("defaultRowPrefetch");
if(s1 ==
null)
s1 =
properties.getProperty("oracle.jdbc.defaultRowPrefetch");
}
if(s1 == null)
s1 =
oracle.jdbc.driver.PhysicalConnection.getSystemProperty("oracle.jdbc.defaultRowPrefetch",
null);
if(s1 == null)
s1 =
"10";
try
{
defaultRowPrefetch =
java.lang.Integer.parseInt(s1);
}
catch(java.lang.NumberFormatException
numberformatexception5)
{
oracle.jdbc.driver.DatabaseError.throwSqlException(getConnectionDuringExceptionHandling(),
190, "Property is 'defaultRowPrefetch'");
}
s1 = null;
if(properties != null)
{
s1 =
properties.getProperty("remarksReporting");
if(s1 ==
null)
s1 =
properties.getProperty("oracle.jdbc.remarksReporting");
}
if(s1 == null)
s1 =
oracle.jdbc.driver.PhysicalConnection.getSystemProperty("oracle.jdbc.remarksReporting",
null);
if(s1 == null)
s1 =
"false";
reportRemarks = s1 != null
&&
s1.equalsIgnoreCase("true");
s1 = null;
if(properties != null)
{
s1 =
properties.getProperty("includeSynonyms");
if(s1 ==
null)
s1 =
properties.getProperty("oracle.jdbc.includeSynonyms");
}
if(s1 == null)
s1 =
oracle.jdbc.driver.PhysicalConnection.getSystemProperty("oracle.jdbc.includeSynonyms",
null);
if(s1 == null)
s1 =
"false";
includeSynonyms = s1 != null
&&
s1.equalsIgnoreCase("true");
s1 = null;
if(properties != null)
{
s1 =
properties.getProperty("restrictGetTables");
if(s1 ==
null)
s1 =
properties.getProperty("oracle.jdbc.restrictGetTables");
}
if(s1 == null)
s1 =
oracle.jdbc.driver.PhysicalConnection.getSystemProperty("oracle.jdbc.restrictGetTables",
null);
if(s1 == null)
s1 =
"false";
restrictGettables = s1 != null
&&
s1.equalsIgnoreCase("true");
s1 = null;
if(properties != null)
{
s1 =
properties.getProperty("AccumulateBatchResult");
if(s1 ==
null)
s1 =
properties.getProperty("oracle.jdbc.AccumulateBatchResult");
}
if(s1 == null)
s1 =
oracle.jdbc.driver.PhysicalConnection.getSystemProperty("oracle.jdbc.AccumulateBatchResult",
null);
if(s1 == null)
s1 =
"true";
accumulateBatchResult = s1 != null
&&
s1.equalsIgnoreCase("true");
s1 = null;
if(properties != null)
{
s1 =
properties.getProperty("useFetchSizeWithLongColumn");
if(s1 ==
null)
s1 =
properties.getProperty("oracle.jdbc.useFetchSizeWithLongColumn");
}
if(s1 == null)
s1 =
oracle.jdbc.driver.PhysicalConnection.getSystemProperty("oracle.jdbc.useFetchSizeWithLongColumn",
null);
if(s1 == null)
s1 =
"false";
useFetchSizeWithLongColumn = s1 != null
&&
s1.equalsIgnoreCase("true");
s1 = null;
if(properties != null)
{
s1 =
properties.getProperty("processEscapes");
if(s1 ==
null)
s1 =
properties.getProperty("oracle.jdbc.processEscapes");
}
if(s1 == null)
s1 =
oracle.jdbc.driver.PhysicalConnection.getSystemProperty("oracle.jdbc.processEscapes",
null);
if(s1 == null)
s1 =
"true";
processEscapes = s1 != null
&&
s1.equalsIgnoreCase("true");
s1 = null;
if(properties != null)
{
s1 =
properties.getProperty("fixedString");
if(s1 ==
null)
s1 =
properties.getProperty("oracle.jdbc.fixedString");
}
if(s1 == null)
s1 =
oracle.jdbc.driver.PhysicalConnection.getSystemProperty("oracle.jdbc.fixedString",
null);
if(s1 == null)
s1 =
"false";
fixedString = s1 != null
&&
s1.equalsIgnoreCase("true");
s1 = null;
if(properties != null)
{
s1 =
properties.getProperty("defaultNChar");
if(s1 ==
null)
s1 =
properties.getProperty("oracle.jdbc.defaultNChar");
}
if(s1 == null)
s1 =
oracle.jdbc.driver.PhysicalConnection.getSystemProperty("oracle.jdbc.defaultNChar",
null);
if(s1 == null)
s1 =
"false";
defaultnchar = s1 != null
&&
s1.equalsIgnoreCase("true");
s1 = null;
if(properties != null)
s1 =
properties.getProperty("oracle.jdbc.internal.permitBindDateDefineTimestampMismatch");
if(s1 == null)
s1 =
oracle.jdbc.driver.PhysicalConnection.getSystemProperty("oracle.jdbc.internal.permitBindDateDefineTimestampMismatch",
null);
if(s1 == null)
s1 =
"false";
permitTimestampDateMismatch = s1 != null
&&
s1.equalsIgnoreCase("true");
s1 = null;
if(properties != null)
{
s1 =
properties.getProperty("RessourceManagerId");
if(s1 ==
null)
s1 =
properties.getProperty("oracle.jdbc.RessourceManagerId");
}
if(s1 == null)
s1 =
oracle.jdbc.driver.PhysicalConnection.getSystemProperty("oracle.jdbc.RessourceManagerId",
null);
if(s1 == null)
s1 =
"0000";
resourceManagerId = s1;
s1 = null;
if(properties != null)
{
s1 =
properties.getProperty("disableDefineColumnType");
if(s1 ==
null)
s1 =
properties.getProperty("oracle.jdbc.disableDefineColumnType");
}
if(s1 == null)
s1 =
oracle.jdbc.driver.PhysicalConnection.getSystemProperty("oracle.jdbc.disableDefineColumnType",
null);
if(s1 == null)
s1 =
"false";
disableDefinecolumntype = s1 != null
&&
s1.equalsIgnoreCase("true");
s1 = null;
if(properties != null)
s1 =
properties.getProperty("oracle.jdbc.convertNcharLiterals");
if(s1 == null)
s1 =
oracle.jdbc.driver.PhysicalConnection.getSystemProperty("oracle.jdbc.convertNcharLiterals",
null);
if(s1 == null)
s1 =
"false";
convertNcharLiterals = s1 != null
&&
s1.equalsIgnoreCase("true");
s1 = null;
if(properties != null)
s1 =
properties.getProperty("oracle.jdbc.J2EE13Compliant");
if(s1 == null)
s1 =
oracle.jdbc.driver.PhysicalConnection.getSystemProperty("oracle.jdbc.J2EE13Compliant",
null);
if(s1 == null)
s1 =
"false";
j2ee13Compliant = s1 != null
&&
s1.equalsIgnoreCase("true");
s1 = null;
if(properties != null)
s1 =
properties.getProperty("oracle.jdbc.mapDateToTimestamp");
if(s1 == null)
s1 =
oracle.jdbc.driver.PhysicalConnection.getSystemProperty("oracle.jdbc.mapDateToTimestamp",
null);
if(s1 == null)
s1 =
"true";
mapDateToTimestamp = s1 != null
&&
s1.equalsIgnoreCase("true");
s1 = null;
if(properties != null)
s1 =
properties.getProperty("oracle.jdbc.useThreadLocalBufferCache");
if(s1 == null)
s1 =
oracle.jdbc.driver.PhysicalConnection.getSystemProperty("oracle.jdbc.useThreadLocalBufferCache",
null);
if(s1 == null)
s1 =
"false";
useThreadLocalBufferCache = s1 != null
&&
s1.equalsIgnoreCase("true");
s1 = null;
if(properties != null)
s1 =
properties.getProperty("oracle.jdbc.commitOption");
if(s1 == null)
s1 =
oracle.jdbc.driver.PhysicalConnection.getSystemProperty("oracle.jdbc.commitOption",
null);
if(s1 != null)
{
commitOption = 0;
java.lang.String as[] = s1.split(",");
if(as !=
null && as.length >
0)
{
java.lang.String as1[] =
as;
int j = as1.length;
for(int k = 0; k
< j; k++)
{
java.lang.String s3 = as1[k];
if(s3.trim() != "")
commitOption |=
oracle.jdbc.OracleConnection.CommitOption.valueOf(s3.trim()).getCode();
}
}
}