blob: 7a182d1d9d003c6c0861186c06426967c66b9d49 [file] [log] [blame]
<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>4.&nbsp; IBM DB2</title><link rel="stylesheet" href="css/docbook.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.72.0"><link rel="start" href="manual.html" title="Apache OpenJPA User's Guide"><link rel="up" href="supported_databases.html" title="Appendix&nbsp;2.&nbsp; Supported Databases"><link rel="prev" href="dbsupport_jdatastore.html" title="3.&nbsp; JDataStore"><link rel="next" href="dbsupport_empress.html" title="5.&nbsp; Empress"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">4.&nbsp;
IBM DB2
</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="dbsupport_jdatastore.html">Prev</a>&nbsp;</td><th width="60%" align="center">Appendix&nbsp;2.&nbsp;
Supported Databases
</th><td width="20%" align="right">&nbsp;<a accesskey="n" href="dbsupport_empress.html">Next</a></td></tr></table><hr></div><div class="section" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="dbsupport_db2"></a>4.&nbsp;
IBM DB2
</h2></div></div></div><div class="toc"><dl><dt><span class="section"><a href="dbsupport_db2.html#dbsupport_db2_issues">4.1.
Known issues with DB2
</a></span></dt></dl></div><div class="example"><a name="example_props_db2"></a><p class="title"><b>Example&nbsp;2.4.&nbsp;
Example properties for IBM DB2
</b></p><div class="example-contents"><pre class="programlisting">
openjpa.ConnectionDriverName: com.ibm.db2.jcc.DB2Driver
openjpa.ConnectionURL: jdbc:db2://SERVER_NAME:SERVER_PORT/DB_NAME
</pre></div></div><br class="example-break"><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="dbsupport_db2_issues"></a>4.1.&nbsp;
Known issues with DB2
</h3></div></div></div><div class="itemizedlist"><ul type="disc"><li><p>
Floats and doubles may lose precision when stored.
</p></li><li><p>
Empty char values are stored as NULL.
</p></li><li><p>
Fields of type BLOB and CLOB are limited to 1M. This number can be increased by
extending <code class="classname">DB2Dictionary</code>.
</p></li></ul></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="dbsupport_jdatastore.html">Prev</a>&nbsp;</td><td width="20%" align="center"><a accesskey="u" href="supported_databases.html">Up</a></td><td width="40%" align="right">&nbsp;<a accesskey="n" href="dbsupport_empress.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">3.&nbsp;
JDataStore
&nbsp;</td><td width="20%" align="center"><a accesskey="h" href="manual.html">Home</a></td><td width="40%" align="right" valign="top">&nbsp;5.&nbsp;
Empress
</td></tr></table></div></body></html>