72 lines
5.7 KiB
HTML
72 lines
5.7 KiB
HTML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!DOCTYPE html
|
|
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html lang="en-us" xml:lang="en-us">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
<meta name="security" content="public" />
|
|
<meta name="Robots" content="index,follow" />
|
|
<meta http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))' />
|
|
<meta name="DC.Type" content="concept" />
|
|
<meta name="DC.Title" content="Other DataSource implementations" />
|
|
<meta name="abstract" content="There are two implementations of the DataSource interface that are included with the native JDBC driver. These DataSource implementations should be considered deprecated. While you can still use them, they are not enhanced with future improvements; for example, robust connection and statement pooling are not added to these implementations. These implementations exist until you adopt the UDBDataSource interface and its related functions." />
|
|
<meta name="description" content="There are two implementations of the DataSource interface that are included with the native JDBC driver. These DataSource implementations should be considered deprecated. While you can still use them, they are not enhanced with future improvements; for example, robust connection and statement pooling are not added to these implementations. These implementations exist until you adopt the UDBDataSource interface and its related functions." />
|
|
<meta name="DC.Relation" scheme="URI" content="connects.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="db2drivr.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="conprop.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="udbdatsr.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="dasrprop.htm" />
|
|
<meta name="copyright" content="(C) Copyright IBM Corporation 2006" />
|
|
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 2006" />
|
|
<meta name="DC.Format" content="XHTML" />
|
|
<meta name="DC.Identifier" content="otherdts" />
|
|
<meta name="DC.Language" content="en-us" />
|
|
<!-- All rights reserved. Licensed Materials Property of IBM -->
|
|
<!-- US Government Users Restricted Rights -->
|
|
<!-- Use, duplication or disclosure restricted by -->
|
|
<!-- GSA ADP Schedule Contract with IBM Corp. -->
|
|
<link rel="stylesheet" type="text/css" href="./ibmdita.css" />
|
|
<link rel="stylesheet" type="text/css" href="./ic.css" />
|
|
<title>Other DataSource implementations</title>
|
|
</head>
|
|
<body id="otherdts"><a name="otherdts"><!-- --></a>
|
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
|
<h1 class="topictitle1">Other DataSource implementations</h1>
|
|
<div><p>There are two implementations of the DataSource interface that
|
|
are included with the native JDBC driver. These DataSource implementations
|
|
should be considered deprecated. While you can still use them, they are not
|
|
enhanced with future improvements; for example, robust connection and statement
|
|
pooling are not added to these implementations. These implementations exist
|
|
until you adopt the UDBDataSource interface and its related functions.</p>
|
|
<div class="section"><h4 class="sectiontitle">DB2DataSource</h4><p>The DB2DataSource was an early implementation
|
|
of the DataSource interface and does not comply with the complete specification
|
|
(that is, it predates the specification). DB2DataSource exists today only
|
|
to allow WebSphere<sup>®</sup> users
|
|
to migrate to current releases and should not be used otherwise.</p>
|
|
</div>
|
|
<div class="section"><h4 class="sectiontitle">DB2StdDataSource</h4><p>The DB2StdDataSource is the revised
|
|
version of the DB2DataSource implementation that became specification-compliant
|
|
once the JDBC optional package specification became final. The new version
|
|
was provided to not break code already written on the DB2DataSource version.</p>
|
|
<p>If
|
|
you have written applications that make use of these DataSource implementations,
|
|
migrating to the UDBDataSource is a trivial task as all the old properties
|
|
are supported. It is recommended that you migrate to UDBDataSource to gain
|
|
the functionality of the new UDBDataSource classes.</p>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="connects.htm" title="The Connection object represents a connection to a data source in Java Database Connectivity (JDBC). It is through Connection objects that Statement objects are created for processing SQL statements against the database. An application program can have multiple connections at one time. These Connection objects can all connect to the same database or connect to different databases.">Connections</a></div>
|
|
</div>
|
|
<div class="relconcepts"><strong>Related concepts</strong><br />
|
|
<div><a href="db2drivr.htm" title="DriverManager is a static class in the Java 2 Software Development Kit (J2SDK). DriverManager manages the set of Java Database Connectivity (JDBC) drivers that are available for an application to use.">DriverManager</a></div>
|
|
<div><a href="udbdatsr.htm" title="DataSource interfaces were designed to allow additional flexibility in using Java Database Connectivity (JDBC) drivers.">Use DataSources with UDBDataSource</a></div>
|
|
</div>
|
|
<div class="relref"><strong>Related reference</strong><br />
|
|
<div><a href="conprop.htm" title="This table contains valid JDBC driver connection properties, their values, and their descriptions.">Connection properties</a></div>
|
|
<div><a href="dasrprop.htm" title="This table contains valid data source properties, their values, and their descriptions.">DataSource properties</a></div>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html> |