org.apache.derby.jdbc
Class BasicClientDataSource40

java.lang.Object
  extended by org.apache.derby.jdbc.ClientBaseDataSourceRoot
      extended by org.apache.derby.jdbc.BasicClientDataSource40
All Implemented Interfaces:
java.io.Serializable, java.sql.Wrapper, javax.sql.CommonDataSource, javax.sql.DataSource, ClientDataSourceInterface
Direct Known Subclasses:
BasicClientConnectionPoolDataSource40, BasicClientXADataSource40

public class BasicClientDataSource40
extends ClientBaseDataSourceRoot
implements javax.sql.DataSource

This datasource is suitable for client/server use of Derby, running on Java 8 Compact Profile 2 or higher.

BasicClientDataSource40 is similar to ClientDataSource40 except it can not be used with JNDI, i.e. it does not implement javax.naming.Referenceable.

See Also:
Serialized Form

Field Summary
static java.lang.String className__
           
private static long serialVersionUID
           
 
Fields inherited from class org.apache.derby.jdbc.ClientBaseDataSourceRoot
connectionAttributes, securityMechanism, SSL_BASIC, SSL_OFF, SSL_PEER_AUTHENTICATION, SUPPORTS_EUSRIDPWD, traceLevel
 
Fields inherited from interface org.apache.derby.jdbc.ClientDataSourceInterface
CLEAR_TEXT_PASSWORD_SECURITY, ENCRYPTED_PASSWORD_SECURITY, ENCRYPTED_USER_AND_PASSWORD_SECURITY, propertyDefault_portNumber, propertyDefault_retrieveMessageText, propertyDefault_securityMechanism, propertyDefault_serverName, propertyDefault_traceFileAppend, propertyDefault_traceLevel, propertyDefault_user, STRONG_PASSWORD_SUBSTITUTE_SECURITY, TRACE_ALL, TRACE_CONNECTION_CALLS, TRACE_CONNECTS, TRACE_DIAGNOSTICS, TRACE_DRIVER_CONFIGURATION, TRACE_NONE, TRACE_PARAMETER_META_DATA, TRACE_PROTOCOL_FLOWS, TRACE_RESULT_SET_CALLS, TRACE_RESULT_SET_META_DATA, TRACE_STATEMENT_CALLS, TRACE_XA_CALLS, USER_ONLY_SECURITY
 
Constructor Summary
BasicClientDataSource40()
          Creates a simple DERBY data source with default property values for a non-pooling, non-distributed environment.
 
Method Summary
 java.util.logging.Logger getParentLogger()
           
 
Methods inherited from class org.apache.derby.jdbc.ClientBaseDataSourceRoot
computeDncLogWriter, computeDncLogWriter, computeDncLogWriterForNewConnection, computeDncLogWriterForNewConnection, computePrintWriter, getClientSSLMode, getConnection, getConnection, getConnectionAttributes, getCreateDatabase, getDatabaseName, getDataSourceName, getDescription, getLoginTimeout, getLogWriter, getPassword, getPassword, getPooledConnectionMinion, getPooledConnectionMinion, getPortNumber, getProperties, getRetrieveMessageText, getRetrieveMessageText, getSecurityMechanism, getSecurityMechanism, getSecurityMechanism, getServerName, getShutdownDatabase, getSsl, getSSLModeFromString, getTraceDirectory, getTraceDirectory, getTraceFile, getTraceFile, getTraceFileAppend, getTraceFileAppend, getTraceLevel, getTraceLevel, getUpgradedSecurityMechanism, getUser, getUser, getXAConnectionMinion, getXAConnectionMinion, handleConnectionException, isWrapperFor, maxStatementsToPool, setConnectionAttributes, setCreateDatabase, setDatabaseName, setDataSourceName, setDescription, setLoginTimeout, setLogWriter, setPassword, setPortNumber, setRetrieveMessageText, setSecurityMechanism, setServerName, setShutdownDatabase, setSsl, setTraceDirectory, setTraceFile, setTraceFileAppend, setTraceLevel, setUser, tokenizeAttributes, unwrap, updateDataSourceValues
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.sql.DataSource
getConnection, getConnection
 
Methods inherited from interface javax.sql.CommonDataSource
getLoginTimeout, getLogWriter, setLoginTimeout, setLogWriter
 
Methods inherited from interface java.sql.Wrapper
isWrapperFor, unwrap
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

className__

public static final java.lang.String className__
See Also:
Constant Field Values
Constructor Detail

BasicClientDataSource40

public BasicClientDataSource40()
Creates a simple DERBY data source with default property values for a non-pooling, non-distributed environment. No particular DatabaseName or other properties are associated with the data source.

Every Java Bean should provide a constructor with no arguments since many beanboxes attempt to instantiate a bean by invoking its no-argument constructor.

Method Detail

getParentLogger

public java.util.logging.Logger getParentLogger()
                                         throws java.sql.SQLFeatureNotSupportedException
Throws:
java.sql.SQLFeatureNotSupportedException

Built on Wed 2013-06-12 15:21:56+0000, from revision ???

Apache Derby V10.10 Internals - Copyright © 2004,2013 The Apache Software Foundation. All Rights Reserved.