java.io.Serializable
, java.sql.Wrapper
, javax.sql.CommonDataSource
, javax.sql.DataSource
, ClientDataSourceInterface
BasicClientConnectionPoolDataSource40
, BasicClientXADataSource40
, ClientDataSource
public class BasicClientDataSource40 extends java.lang.Object implements javax.sql.DataSource, ClientDataSourceInterface, java.io.Serializable
javax.naming.Referenceable
.
* The standard attributes provided are, cf. e.g. table
9.1 in the JDBC 4.2 specification.
Modifier and Type | Field | Description |
---|---|---|
static java.lang.String |
className__ |
|
static short |
CLEAR_TEXT_PASSWORD_SECURITY |
See documentation at
USER_ONLY_SECURITY |
private java.lang.String |
connectionAttributes |
|
private boolean |
createDatabase |
Set to true if the database should be created.
|
private java.lang.String |
databaseName |
Stores the relational database name, RDBNAME.
|
private java.lang.String |
dataSourceName |
A data source name;
used to name an underlying XADataSource,
or ConnectionPoolDataSource when pooling of connections is done.
|
private java.lang.String |
description |
A description of this data source.
|
static short |
ENCRYPTED_PASSWORD_SECURITY |
See documentation at
USER_ONLY_SECURITY |
static short |
ENCRYPTED_USER_AND_PASSWORD_SECURITY |
See documentation at
USER_ONLY_SECURITY |
private int |
loginTimeout |
The time in seconds to wait for a connection request on this data
source.
|
private java.io.PrintWriter |
logWriter |
The log writer is declared transient, and is not serialized or stored
under JNDI.
|
private java.lang.String |
password |
|
private int |
portNumber |
|
static int |
propertyDefault_traceLevel |
See documentation at
TRACE_NONE . |
private boolean |
retrieveMessageText |
|
private static short |
SECMEC_HAS_NOT_EXPLICITLY_SET |
|
private short |
securityMechanism |
Security Mechanism can be specified explicitly either when obtaining a
connection via a DriverManager or via Datasource.
|
private static long |
serialVersionUID |
|
private java.lang.String |
serverName |
|
private boolean |
shutdownDatabase |
Set to true if the database should be shutdown.
|
static int |
SSL_BASIC |
The constant indicating that SSL encryption will be used.
|
private static java.lang.String |
SSL_BASIC_STR |
|
static int |
SSL_OFF |
The constant indicating that SSL encryption won't be used.
|
private static java.lang.String |
SSL_OFF_STR |
|
static int |
SSL_PEER_AUTHENTICATION |
The constant indicating that SSL encryption with peer authentication
will be used.
|
private static java.lang.String |
SSL_PEER_AUTHENTICATION_STR |
|
private int |
sslMode |
|
static short |
STRONG_PASSWORD_SUBSTITUTE_SECURITY |
See documentation at
USER_ONLY_SECURITY |
static int |
TRACE_ALL |
See documentation at
TRACE_NONE . |
static int |
TRACE_CONNECTION_CALLS |
See documentation at
TRACE_NONE . |
static int |
TRACE_CONNECTS |
See documentation at
TRACE_NONE . |
static int |
TRACE_DIAGNOSTICS |
See documentation at
TRACE_NONE . |
static int |
TRACE_DRIVER_CONFIGURATION |
See documentation at
TRACE_NONE . |
static int |
TRACE_NONE |
The client server protocol can be traced.
|
static int |
TRACE_PARAMETER_META_DATA |
See documentation at
TRACE_NONE . |
static int |
TRACE_PROTOCOL_FLOWS |
See documentation at
TRACE_NONE . |
static int |
TRACE_RESULT_SET_CALLS |
See documentation at
TRACE_NONE . |
static int |
TRACE_RESULT_SET_META_DATA |
See documentation at
TRACE_NONE . |
static int |
TRACE_STATEMENT_CALLS |
See documentation at
TRACE_NONE . |
static int |
TRACE_XA_CALLS |
See documentation at
TRACE_NONE . |
private java.lang.String |
traceDirectory |
|
private java.lang.String |
traceFile |
|
private boolean |
traceFileAppend |
|
private int |
traceFileSuffixIndex_ |
|
private int |
traceLevel |
|
private java.lang.String |
user |
This property can be overwritten by specifing the
username parameter on the DataSource.getConnection() method
call.
|
static short |
USER_ONLY_SECURITY |
The source security mechanism to use when connecting to a client data
source.
|
propertyDefault_portNumber, propertyDefault_retrieveMessageText, propertyDefault_securityMechanism, propertyDefault_serverName, propertyDefault_traceFileAppend, propertyDefault_user
Constructor | Description |
---|---|
BasicClientDataSource40() |
Creates a simple DERBY data source with default property values
for a non-pooling, non-distributed environment.
|
Modifier and Type | Method | Description |
---|---|---|
private static void |
checkBoolean(java.util.Properties set,
java.lang.String attribute) |
|
private static void |
checkEnumeration(java.util.Properties set,
java.lang.String attribute,
java.lang.String[] choices) |
|
private static LogWriter |
computeDncLogWriter(java.io.PrintWriter logWriter,
java.lang.String traceDirectory,
java.lang.String traceFile,
boolean traceFileAppend,
java.lang.String logWriterInUseSuffix,
int traceFileSuffixIndex,
int traceLevel) |
|
(package private) static LogWriter |
computeDncLogWriterForNewConnection(java.io.PrintWriter logWriter,
java.lang.String traceDirectory,
java.lang.String traceFile,
boolean traceFileAppend,
int traceLevel,
java.lang.String logWriterInUseSuffix,
int traceFileSuffixIndex) |
|
private LogWriter |
computeDncLogWriterForNewConnection(java.lang.String logWriterInUseSuffix) |
|
private static java.io.PrintWriter |
computePrintWriter(java.io.PrintWriter logWriter,
java.lang.String traceDirectory,
java.lang.String traceFile,
boolean traceFileAppend,
java.lang.String logWriterInUseSuffix,
int traceFileSuffixIndex) |
|
private java.lang.String |
constructUrl() |
Constructs the JDBC connection URL from the state of the data source.
|
static int |
getClientSSLMode(java.util.Properties properties) |
Returns the SSL mode specified by the property object.
|
java.sql.Connection |
getConnection() |
Attempt to establish a database connection in a non-pooling,
non-distributed environment.
|
java.sql.Connection |
getConnection(java.lang.String user,
java.lang.String password) |
Attempt to establish a database connection in a non-pooling,
non-distributed environment.
|
java.lang.String |
getConnectionAttributes() |
|
private java.sql.Connection |
getConnectionX(LogWriter dncLogWriter,
java.lang.String user,
java.lang.String password) |
|
java.lang.String |
getCreateDatabase() |
|
java.lang.String |
getDatabaseName() |
|
java.lang.String |
getDataSourceName() |
|
java.lang.String |
getDescription() |
|
int |
getLoginTimeout() |
|
java.io.PrintWriter |
getLogWriter() |
|
java.util.logging.Logger |
getParentLogger() |
|
java.lang.String |
getPassword() |
|
static java.lang.String |
getPassword(java.util.Properties properties) |
|
protected javax.sql.PooledConnection |
getPooledConnectionMinion() |
|
protected javax.sql.PooledConnection |
getPooledConnectionMinion(java.lang.String user,
java.lang.String password) |
|
private static javax.sql.PooledConnection |
getPooledConnectionX(LogWriter dncLogWriter,
BasicClientDataSource40 ds,
java.lang.String user,
java.lang.String password) |
|
int |
getPortNumber() |
|
private static java.io.PrintWriter |
getPrintWriter(java.lang.String fileName,
boolean fileAppend) |
|
static java.util.Properties |
getProperties(BasicClientDataSource40 ths) |
|
boolean |
getRetrieveMessageText() |
|
static boolean |
getRetrieveMessageText(java.util.Properties properties) |
|
short |
getSecurityMechanism() |
Return the security mechanism.
|
short |
getSecurityMechanism(java.lang.String password) |
Return the security mechanism for this datasource object.
|
static short |
getSecurityMechanism(java.util.Properties properties) |
Return security mechanism if it is set, else upgrade the security
mechanism if possible and return the upgraded security mechanism
|
java.lang.String |
getServerName() |
|
java.lang.String |
getShutdownDatabase() |
|
java.lang.String |
getSsl() |
Returns the SSL encryption mode specified for the data source.
|
static int |
getSSLModeFromString(java.lang.String s) |
Parses the string and returns the corresponding constant for the SSL
mode denoted.
|
java.lang.String |
getTraceDirectory() |
|
(package private) static java.lang.String |
getTraceDirectory(java.util.Properties properties) |
Check if derby.client.traceDirectory is provided as a JVM property.
|
java.lang.String |
getTraceFile() |
|
(package private) static java.lang.String |
getTraceFile(java.util.Properties properties) |
|
boolean |
getTraceFileAppend() |
|
(package private) static boolean |
getTraceFileAppend(java.util.Properties properties) |
|
int |
getTraceLevel() |
|
(package private) static int |
getTraceLevel(java.util.Properties properties) |
Check if derby.client.traceLevel is provided as a JVM property.
|
private static short |
getUpgradedSecurityMechanism(java.lang.String password) |
This method has logic to upgrade security mechanism to a better (more
secure) one if it is possible.
|
java.lang.String |
getUser() |
|
static java.lang.String |
getUser(java.util.Properties properties) |
|
protected javax.sql.XAConnection |
getXAConnectionMinion() |
|
protected javax.sql.XAConnection |
getXAConnectionMinion(java.lang.String user,
java.lang.String password) |
|
private static javax.sql.XAConnection |
getXAConnectionX(LogWriter dncLogWriter,
BasicClientDataSource40 ds,
java.lang.String user,
java.lang.String password) |
Method that establishes the initial physical connection
using DS properties instead of CPDS properties.
|
private void |
handleConnectionException(LogWriter logWriter,
SqlException sqle) |
Handles common error situations that can happen when trying to
obtain a physical connection to the server, and which require special
handling.
|
boolean |
isWrapperFor(java.lang.Class<?> iface) |
Check whether this instance wraps an object that implements the
interface specified by
iface . |
int |
maxStatementsToPool() |
Returns the maximum number of JDBC prepared statements a connection is
allowed to cache.
|
private static boolean |
parseBoolean(java.lang.String boolString,
boolean defaultBool) |
|
private static int |
parseInt(java.lang.String intString,
int defaultInt) |
|
private static java.lang.String |
parseString(java.lang.String string,
java.lang.String defaultString) |
|
private static java.lang.String |
readSystemProperty(java.lang.String key) |
Read the value of the passed system property.
|
void |
setConnectionAttributes(java.lang.String prop) |
Set this property to pass in more Derby specific connection URL
attributes.
|
void |
setCreateDatabase(java.lang.String create) |
Set this property to create a new database.
|
void |
setDatabaseName(java.lang.String databaseName) |
|
void |
setDataSourceName(java.lang.String dataSourceName) |
|
void |
setDescription(java.lang.String description) |
|
void |
setLoginTimeout(int seconds) |
|
void |
setLogWriter(java.io.PrintWriter logWriter) |
|
void |
setPassword(java.lang.String password) |
|
void |
setPortNumber(int portNumber) |
|
void |
setRetrieveMessageText(boolean retrieveMessageText) |
|
void |
setSecurityMechanism(short securityMechanism) |
Sets the security mechanism.
|
void |
setServerName(java.lang.String serverName) |
|
void |
setShutdownDatabase(java.lang.String shutdown) |
Set this property if one wishes to shutdown the database identified by
databaseName.
|
void |
setSsl(java.lang.String mode) |
Specifies the SSL encryption mode to use.
|
void |
setTraceDirectory(java.lang.String traceDirectory) |
|
void |
setTraceFile(java.lang.String traceFile) |
|
void |
setTraceFileAppend(boolean traceFileAppend) |
|
void |
setTraceLevel(int traceLevel) |
|
void |
setUser(java.lang.String user) |
|
(package private) static java.util.Properties |
tokenizeAttributes(java.lang.String attributeString,
java.util.Properties properties) |
|
<T> T |
unwrap(java.lang.Class<T> iface) |
Returns
this if this class implements the specified interface. |
private void |
updateDataSourceValues(java.util.Properties prop) |
The dataSource keeps individual fields for the values that are relevant
to the client.
|
private static final long serialVersionUID
public static final java.lang.String className__
public static final int TRACE_NONE
traceLevel
.
TRACE_NONE TRACE_CONNECTION_CALLS TRACE_STATEMENT_CALLS TRACE_RESULT_SET_CALLS TRACE _DRIVER_CONFIGURATION TRACE_CONNECTS TRACE_PROTOCOL_FLOWS TRACE _RESULT_SET_META_DATA TRACE _PARAMETER_META_DATA TRACE_DIAGNOSTICS TRACE_XA_CALLS TRACE_ALL
public static final int TRACE_CONNECTION_CALLS
TRACE_NONE
.public static final int TRACE_STATEMENT_CALLS
TRACE_NONE
.public static final int TRACE_RESULT_SET_CALLS
TRACE_NONE
.public static final int TRACE_DRIVER_CONFIGURATION
TRACE_NONE
.public static final int TRACE_CONNECTS
TRACE_NONE
.public static final int TRACE_PROTOCOL_FLOWS
TRACE_NONE
.public static final int TRACE_RESULT_SET_META_DATA
TRACE_NONE
.public static final int TRACE_PARAMETER_META_DATA
TRACE_NONE
.public static final int TRACE_DIAGNOSTICS
TRACE_NONE
.public static final int TRACE_XA_CALLS
TRACE_NONE
.public static final int TRACE_ALL
TRACE_NONE
.public static final int propertyDefault_traceLevel
TRACE_NONE
.public static final short USER_ONLY_SECURITY
public static final short CLEAR_TEXT_PASSWORD_SECURITY
USER_ONLY_SECURITY
public static final short ENCRYPTED_PASSWORD_SECURITY
USER_ONLY_SECURITY
public static final short ENCRYPTED_USER_AND_PASSWORD_SECURITY
USER_ONLY_SECURITY
public static final short STRONG_PASSWORD_SUBSTITUTE_SECURITY
USER_ONLY_SECURITY
private int loginTimeout
private transient java.io.PrintWriter logWriter
traceLevel
private java.lang.String databaseName
private java.lang.String description
private java.lang.String dataSourceName
private int portNumber
private java.lang.String serverName
public static final int SSL_OFF
private static final java.lang.String SSL_OFF_STR
public static final int SSL_BASIC
private static final java.lang.String SSL_BASIC_STR
public static final int SSL_PEER_AUTHENTICATION
private static final java.lang.String SSL_PEER_AUTHENTICATION_STR
private java.lang.String user
password
property. This password property may or may not
be declared transient, and therefore may be serialized to a file in
clear-text, care must taken by the user to prevent security breaches.
Derby-406 fixprivate static final short SECMEC_HAS_NOT_EXPLICITLY_SET
private short securityMechanism
getUpgradedSecurityMechanism(java.lang.String)
.
Therefore, need to keep track if the securityMechanism has been
explicitly set.private boolean retrieveMessageText
private java.lang.String traceFile
private transient int traceFileSuffixIndex_
private java.lang.String traceDirectory
private boolean traceFileAppend
private java.lang.String password
private int sslMode
private boolean createDatabase
private boolean shutdownDatabase
private java.lang.String connectionAttributes
private int traceLevel
public BasicClientDataSource40()
public void setLoginTimeout(int seconds)
setLoginTimeout
in interface javax.sql.CommonDataSource
setLoginTimeout
in interface javax.sql.DataSource
public int getLoginTimeout()
getLoginTimeout
in interface javax.sql.CommonDataSource
getLoginTimeout
in interface javax.sql.DataSource
public void setLogWriter(java.io.PrintWriter logWriter)
setLogWriter
in interface javax.sql.CommonDataSource
setLogWriter
in interface javax.sql.DataSource
public java.io.PrintWriter getLogWriter()
getLogWriter
in interface javax.sql.CommonDataSource
getLogWriter
in interface javax.sql.DataSource
public static int getSSLModeFromString(java.lang.String s) throws SqlException
Valid values are off, basic and peerAuthentication.
s
- string denoting the SSL modenull
, SSL_OFF
is returned.SqlException
- if the string has an invalid valuepublic static int getClientSSLMode(java.util.Properties properties) throws SqlException
properties
- data source propertiesSSL_OFF
if the SSL attribute isn't specified.SqlException
- if an invalid value for the SSL mode is specified
in the property objectpublic static java.lang.String getUser(java.util.Properties properties)
public static short getSecurityMechanism(java.util.Properties properties)
properties
- Look in the properties if securityMechanism is set
or not
if set, return this security mechanismprivate static short getUpgradedSecurityMechanism(java.lang.String password)
password
- password argumentpublic static boolean getRetrieveMessageText(java.util.Properties properties)
static java.lang.String getTraceFile(java.util.Properties properties)
static java.lang.String getTraceDirectory(java.util.Properties properties)
properties
- jdbc url propertiesprivate static java.lang.String readSystemProperty(java.lang.String key)
key
- name of the system propertystatic boolean getTraceFileAppend(java.util.Properties properties)
public static java.lang.String getPassword(java.util.Properties properties)
public void setPassword(java.lang.String password)
setPassword
in interface ClientDataSourceInterface
public java.lang.String getPassword()
getPassword
in interface ClientDataSourceInterface
private LogWriter computeDncLogWriterForNewConnection(java.lang.String logWriterInUseSuffix) throws SqlException
SqlException
static LogWriter computeDncLogWriterForNewConnection(java.io.PrintWriter logWriter, java.lang.String traceDirectory, java.lang.String traceFile, boolean traceFileAppend, int traceLevel, java.lang.String logWriterInUseSuffix, int traceFileSuffixIndex) throws SqlException
SqlException
private static LogWriter computeDncLogWriter(java.io.PrintWriter logWriter, java.lang.String traceDirectory, java.lang.String traceFile, boolean traceFileAppend, java.lang.String logWriterInUseSuffix, int traceFileSuffixIndex, int traceLevel) throws SqlException
SqlException
private static java.io.PrintWriter computePrintWriter(java.io.PrintWriter logWriter, java.lang.String traceDirectory, java.lang.String traceFile, boolean traceFileAppend, java.lang.String logWriterInUseSuffix, int traceFileSuffixIndex) throws SqlException
SqlException
private static java.io.PrintWriter getPrintWriter(java.lang.String fileName, boolean fileAppend) throws SqlException
SqlException
private static boolean parseBoolean(java.lang.String boolString, boolean defaultBool)
private static java.lang.String parseString(java.lang.String string, java.lang.String defaultString)
private static int parseInt(java.lang.String intString, int defaultInt)
static java.util.Properties tokenizeAttributes(java.lang.String attributeString, java.util.Properties properties) throws SqlException
SqlException
private static void checkBoolean(java.util.Properties set, java.lang.String attribute) throws SqlException
SqlException
private static void checkEnumeration(java.util.Properties set, java.lang.String attribute, java.lang.String[] choices) throws SqlException
SqlException
public void setDatabaseName(java.lang.String databaseName)
setDatabaseName
in interface ClientDataSourceInterface
public java.lang.String getDatabaseName()
getDatabaseName
in interface ClientDataSourceInterface
public void setDataSourceName(java.lang.String dataSourceName)
setDataSourceName
in interface ClientDataSourceInterface
public java.lang.String getDataSourceName()
getDataSourceName
in interface ClientDataSourceInterface
public void setDescription(java.lang.String description)
setDescription
in interface ClientDataSourceInterface
public java.lang.String getDescription()
getDescription
in interface ClientDataSourceInterface
public void setPortNumber(int portNumber)
setPortNumber
in interface ClientDataSourceInterface
public int getPortNumber()
getPortNumber
in interface ClientDataSourceInterface
public void setServerName(java.lang.String serverName)
setServerName
in interface ClientDataSourceInterface
public java.lang.String getServerName()
getServerName
in interface ClientDataSourceInterface
public void setUser(java.lang.String user)
setUser
in interface ClientDataSourceInterface
public java.lang.String getUser()
getUser
in interface ClientDataSourceInterface
public void setRetrieveMessageText(boolean retrieveMessageText)
setRetrieveMessageText
in interface ClientDataSourceInterface
public boolean getRetrieveMessageText()
getRetrieveMessageText
in interface ClientDataSourceInterface
public void setSecurityMechanism(short securityMechanism)
setSecurityMechanism
in interface ClientDataSourceInterface
securityMechanism
- to setpublic short getSecurityMechanism()
getSecurityMechanism
in interface ClientDataSourceInterface
getUpgradedSecurityMechanism(String)
public short getSecurityMechanism(java.lang.String password)
getSecurityMechanism
in interface ClientDataSourceInterface
password
- password of usergetUpgradedSecurityMechanism(String)
public void setSsl(java.lang.String mode) throws SqlException
Valid values are off, basic and peerAuthentication.
setSsl
in interface ClientDataSourceInterface
mode
- the SSL mode to use (off, basic or
peerAuthentication)SqlException
- if the specified mode is invalidpublic java.lang.String getSsl()
getSsl
in interface ClientDataSourceInterface
public void setCreateDatabase(java.lang.String create)
setCreateDatabase
in interface ClientDataSourceInterface
create
- if set to the string "create", this data source will try
to create a new database of databaseName, or boot the
database if one by that name already exists.public java.lang.String getCreateDatabase()
getCreateDatabase
in interface ClientDataSourceInterface
public void setShutdownDatabase(java.lang.String shutdown)
setShutdownDatabase
in interface ClientDataSourceInterface
shutdown
- if set to the string "shutdown", this data source will
shutdown the database if it is running.public java.lang.String getShutdownDatabase()
getShutdownDatabase
in interface ClientDataSourceInterface
public void setConnectionAttributes(java.lang.String prop)
setConnectionAttributes
in interface ClientDataSourceInterface
prop
- set to the list of Derby connection attributes separated by
semi-colons. E.g., to specify an encryption bootPassword
of "x8hhk2adf", and set upgrade to true, do the following:
ds.setConnectionAttributes("bootPassword=x8hhk2adf;upgrade=true");
See Derby documentation for complete list.public java.lang.String getConnectionAttributes()
getConnectionAttributes
in interface ClientDataSourceInterface
static int getTraceLevel(java.util.Properties properties)
properties
- jdbc url propertiespublic void setTraceLevel(int traceLevel)
setTraceLevel
in interface ClientDataSourceInterface
public int getTraceLevel()
getTraceLevel
in interface ClientDataSourceInterface
public void setTraceFile(java.lang.String traceFile)
setTraceFile
in interface ClientDataSourceInterface
public java.lang.String getTraceFile()
getTraceFile
in interface ClientDataSourceInterface
public void setTraceDirectory(java.lang.String traceDirectory)
setTraceDirectory
in interface ClientDataSourceInterface
public java.lang.String getTraceDirectory()
getTraceDirectory
in interface ClientDataSourceInterface
public void setTraceFileAppend(boolean traceFileAppend)
setTraceFileAppend
in interface ClientDataSourceInterface
public boolean getTraceFileAppend()
getTraceFileAppend
in interface ClientDataSourceInterface
public int maxStatementsToPool()
A basic data source will always return zero. If statement caching is
required, use a ConnectionPoolDataSource
.
This method is used internally by Derby to determine if statement
pooling is to be enabled or not.
Not part of public API, so not present in
ClientDataSourceInterface
.
0
if
caching is disabled (default).private void updateDataSourceValues(java.util.Properties prop) throws SqlException
SqlException
private void handleConnectionException(LogWriter logWriter, SqlException sqle) throws java.sql.SQLException
If this method returns normally, the exception wasn't handled and should be handled elsewhere or be re-thrown.
logWriter
- log writer, may be null
sqle
- exception to handlejava.sql.SQLException
- handled exception (if any)private java.lang.String constructUrl()
public java.sql.Connection getConnection() throws java.sql.SQLException
getConnection
in interface javax.sql.DataSource
java.sql.SQLException
- if a database-access error occurs.public java.sql.Connection getConnection(java.lang.String user, java.lang.String password) throws java.sql.SQLException
getConnection
in interface javax.sql.DataSource
user
- the database user on whose behalf the Connection is being
madepassword
- the user's passwordjava.sql.SQLException
- if a database-access error occurs.private java.sql.Connection getConnectionX(LogWriter dncLogWriter, java.lang.String user, java.lang.String password) throws SqlException
SqlException
public boolean isWrapperFor(java.lang.Class<?> iface) throws java.sql.SQLException
iface
.isWrapperFor
in interface java.sql.Wrapper
iface
- a class defining an interfacetrue
if this instance implements iface
, or
false
otherwisejava.sql.SQLException
- if an error occurs while determining if this
instance implements iface
public <T> T unwrap(java.lang.Class<T> iface) throws java.sql.SQLException
this
if this class implements the specified interface.unwrap
in interface java.sql.Wrapper
iface
- a class defining an interfacejava.sql.SQLException
- if no object is found that implements the
interfacepublic java.util.logging.Logger getParentLogger() throws java.sql.SQLFeatureNotSupportedException
getParentLogger
in interface javax.sql.CommonDataSource
java.sql.SQLFeatureNotSupportedException
protected final javax.sql.PooledConnection getPooledConnectionMinion() throws java.sql.SQLException
java.sql.SQLException
protected final javax.sql.PooledConnection getPooledConnectionMinion(java.lang.String user, java.lang.String password) throws java.sql.SQLException
java.sql.SQLException
private static javax.sql.PooledConnection getPooledConnectionX(LogWriter dncLogWriter, BasicClientDataSource40 ds, java.lang.String user, java.lang.String password) throws java.sql.SQLException
java.sql.SQLException
protected final javax.sql.XAConnection getXAConnectionMinion() throws java.sql.SQLException
java.sql.SQLException
protected final javax.sql.XAConnection getXAConnectionMinion(java.lang.String user, java.lang.String password) throws java.sql.SQLException
java.sql.SQLException
private static javax.sql.XAConnection getXAConnectionX(LogWriter dncLogWriter, BasicClientDataSource40 ds, java.lang.String user, java.lang.String password) throws java.sql.SQLException
java.sql.SQLException
public static java.util.Properties getProperties(BasicClientDataSource40 ths)
Apache Derby V10.14 Internals - Copyright © 2004,2018 The Apache Software Foundation. All Rights Reserved.