ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzaha_5.4.0.1/adwrdlnk.htm

61 lines
4.5 KiB
HTML
Raw Normal View History

2024-04-02 14:02:31 +00:00
<?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="Write code that uses Datalinks" />
<meta name="abstract" content="How you work with Datalinks is dependent on what release you are working with. In JDBC 3.0, there is support to work directly with Datalink columns using the getURL and putURL methods." />
<meta name="description" content="How you work with Datalinks is dependent on what release you are working with. In JDBC 3.0, there is support to work directly with Datalink columns using the getURL and putURL methods." />
<meta name="DC.Relation" scheme="URI" content="advancdt.htm" />
<meta name="DC.Relation" scheme="URI" content="adwrblob.htm" />
<meta name="DC.Relation" scheme="URI" content="adwrclob.htm" />
<meta name="DC.Relation" scheme="URI" content="distinct.htm" />
<meta name="DC.Relation" scheme="URI" content="putgetdatalinks.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="adwrdlnk" />
<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>Write code that uses Datalinks</title>
</head>
<body id="adwrdlnk"><a name="adwrdlnk"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Write code that uses Datalinks</h1>
<div><p>How you work with Datalinks is dependent on what release you are
working with. In JDBC 3.0, there is support to work directly with Datalink
columns using the getURL and putURL methods.</p>
<p>With previous JDBC versions, you had to work with Datalink columns as if
they were String columns. Presently, the database does not support automatic
conversions between Datalink and character data types. As a result, you need
perform some type casting in your SQL statements.</p>
</div>
<div>
<ul class="ullinks">
<li class="ulchildlink"><strong><a href="putgetdatalinks.htm">Example: Datalink</a></strong><br />
This is an example of how to use datalinks in your applications.</li>
</ul>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="advancdt.htm" title="Advanced SQL3 data types give you a tremendous amount of flexibility. They are ideal for storing serialized Java objects, Extensible Markup Language (XML) documents, and multimedia data such as songs, product pictures, employee photographs, and movie clips. Java Database Connectivity (JDBC) 2.0 and higher provide support for working with these data types that are a part of the SQL99 standard.">Advanced data types</a></div>
</div>
<div class="relconcepts"><strong>Related concepts</strong><br />
<div><a href="adwrblob.htm" title="There are a number of tasks that can be accomplished with database Binary Large Object (BLOB) columns through the Java Database Connectivity (JDBC) Application Programming Interface (API). The following topics briefly discuss these tasks and include examples on how to accomplish them.">Write code that uses BLOBs</a></div>
<div><a href="adwrclob.htm" title="There are a number of tasks that can be performed with database CLOB and DBCLOB columns through the Java Database Connectivity (JDBC) Application Programming Interface (API). The following topics briefly discuss these tasks and include examples on how to accomplish them.">Write code that uses CLOBs</a></div>
</div>
<div class="relref"><strong>Related reference</strong><br />
<div><a href="distinct.htm" title="This is an example of how to use distinct types.">Example: Distinct types</a></div>
</div>
</div>
</body>
</html>