| Home >> All >> org >> apache >> derby >> [ jdbc Javadoc ] |
org.apache.derby.jdbc: Javadoc index of package org.apache.derby.jdbc.
Package Samples:
org.apache.derby.jdbc
Classes:
EmbeddedDataSource: EmbeddedDataSource is Derby's DataSource implementation. A DataSource is a factory for Connection objects. An object that implements the DataSource interface will typically be registered with a JNDI service provider. EmbeddedDataSource automatically supports the correct JDBC specification version for the Java Virtual Machine's environment. JDBC 3.0 - Java 2 - JDK 1.4, J2SE 5.0 JDBC 2.0 - Java 2 - JDK 1.2,1.3 The following is a list of properties that can be set on a Derby DataSource object: Standard DataSource properties (from JDBC 3.0 specification). databaseName (String): Mandatory This property ...
ClientDataSource: ClientDataSource is a simple data source implementation that can be used for establishing connections in a non-pooling, non-distributed environment. The class ClientDataSource can be used in a connection pooling environment, and the class ClientXADataSource can be used in a distributed, and pooling environment. The example below registers a DNC data source object with a JNDI naming service. org.apache.derby.client.ClientDataSource dataSource = new org.apache.derby.client.ClientDataSource (); dataSource.setServerName ("my_derby_database_server"); dataSource.setDatabaseName ("my_derby_database_name"); ...
EmbeddedDriver: The embedded JDBC driver (Type 4) for Derby. The driver automatically supports the correct JDBC specification version for the Java Virtual Machine's environment. JDBC 3.0 - Java 2 - JDK 1.4, J2SE 5.0 JDBC 2.0 - Java 2 - JDK 1.2,1.3 Loading this JDBC driver boots the database engine within the same Java virtual machine. The correct code to load the Derby engine using this driver is (with approriate try/catch blocks): Class.forName("org.apache.derby.jdbc.EmbeddedDriver").newInstance(); // or new org.apache.derby.jdbc.EmbeddedDriver(); When loaded in this way, the class boots the actual JDBC driver ...
EmbeddedXADataSource: EmbeddedXADataSource is Derby's XADataSource implementation. An XADataSource is a factory for XAConnection objects. It represents a RM in a DTP environment. An object that implements the XADataSource interface is typically registered with a JNDI service provider. EmbeddedXADataSource automatically supports the correct JDBC specification version for the Java Virtual Machine's environment. JDBC 3.0 - Java 2 - JDK 1.4, J2SE 5.0 JDBC 2.0 - Java 2 - JDK 1.2,1.3 EmbeddedXADataSource object only works on a local database. There is no client/server support. An EmbeddedXADataSource object must live in the ...
EmbeddedConnectionPoolDataSource: EmbeddedConnectionPoolDataSource is Derby's ConnectionPoolDataSource implementation. A ConnectionPoolDataSource is a factory for PooledConnection objects. An object that implements this interface will typically be registered with a JNDI service. EmbeddedConnectionPoolDataSource automatically supports the correct JDBC specification version for the Java Virtual Machine's environment. JDBC 3.0 - Java 2 - JDK 1.4, J2SE 5.0 JDBC 2.0 - Java 2 - JDK 1.2,1.3 EmbeddedConnectionPoolDataSource is serializable and referenceable. See EmbeddedDataSource for DataSource properties.
ReferenceableDataSource: Cloudscape DataSource implementation base class. ReferenceableDataSource provides support for JDBC standard DataSource attributes and acts as the ObjectFactory to generate Cloudscape DataSource implementations. The standard attributes provided by this class are: databaseName dataSourceName description password user See the specific Cloudscape DataSource implementation for details on their meaning. See the JDBC 3.0 specification for more details.
EmbeddedSimpleDataSource: EmbeddedSimpleDataSource is Derby's DataSource implementation for J2ME/CDC/Foundation. It is also supports J2SE platforms. Supports the same properties as EmbeddedDataSource, see that class for details. EmbeddedSimpleDataSource automatically supports the correct JDBC specification version for the Java Virtual Machine's environment. JDBC Optional Package for CDC/Foundation Profile(JSR-169) - J2ME - CDC/Foundation JDBC 3.0 - Java 2 - JDK 1.4, J2SE 5.0 JDBC 2.0 - Java 2 - JDK 1.2,1.3
Driver30: This class extends the local20 JDBC driver in order to determine at JBMS boot-up if the JVM that runs us does support JDBC 3.0. If it is the case then we will load the appropriate class(es) that have JDBC 3.0 new public methods and sql types.
Driver20: This class extends the local JDBC driver in order to determine at JBMS boot-up if the JVM that runs us does support JDBC 2.0. If it is the case then we will load the appropriate class(es) that have JDBC 2.0 new public methods and sql types.
ClientConnectionPoolDataSource: ClientConnectionPoolDataSource is a factory for PooledConnection objects. An object that implements this interface will typically be registered with a naming service that is based on the Java Naming and Directory Interface (JNDI).
XAStatementControl: The Statement returned by an Connection returned by a XAConnection needs to float across the underlying real connections. We do this by implementing a wrapper statement.
EmbedPooledConnection: A PooledConnection object is a connection object that provides hooks for connection pool management. This is Cloudscape's implementation of a PooledConnection.
Driver169: Driver169 - JDBC "driver" for J2ME/CDC/Foundation/JSR169, really the JDBC object factory for the JSR169 environment. WORK IN PROGRESS
ClientBaseDataSource: Base class for client-side DataSource implementations.
InternalDriver: Abstract factory class and api for JDBC objects.
ClientDriver
ClientXADataSource
EmbedXAConnection
ResourceAdapterImpl
XATransactionState
| Home | Contact Us | Privacy Policy | Terms of Service |