首页  ·  知识 ·  协同办公
JDBC连接Domino方法
网友  百度空间     编辑:德仔   图片来源:网络
../../2010UploadFiles/12/Dezai20101214042239.jpg / str

JDBC连接字符串:

jdbc:domino/<filename>[/<server>][;<keyword>=<attribute>[;<keyword>=<attribute>]...]

jdbc:domino is the protocol and subprotocol (the subprotocol is specific to this JDBC driver).
<filename> is the fully qualified file name or the name relative to the Notes data directory.
<server> is the Domino server name.
<keyword> is chosen from the table below.
<attribute> is an appropriate value from the table below.


Domino Driver for JDBC URL Keywords

Keyword Minimum Maximum Default Description
MaxSubquery 1 100 20 This parameter specifies the maximum number of nested subqueries in a SQL statement.
MaxStmtLen 2 32767 4096 This parameter specifies the maximum length of an SQL statement passed to prepare, execute, executeQuery, or executeUpdate.
MaxRels 1 100 20 This parameter specifies the maximum number of tables in a single SQL statement.
MaxVarcharLen 2 15360 254 This parameter specifies the maximum number of bytes Lotus Domino Driver for JDBC allows in a string associated with a text field. This limits the number of characters returned from a Domino text field and the length of a string to be inserted into a Domino text field.
MaxLongVarcharLen 2 15360 512 This parameter is similar to MaxVarcharLen, but it applies to rich text fields.
KeepTempIdx 0 1 0 This option controls the saving of temporary indexes. Set to 1, temporary indexes will be saved until disconnect() is called. Set to 0, temporary indexes will be deleted at the end of each SQL statement.
ShowImplicitFlds 0 1 0 This option controls whether certain Domino fields are provided through DatabaseMetaData. Set to 0, internal fields will not be shown. Set to 1, internal fields will be shown.
MapSpecialChars 0 1 1 This option controls whether certain characters are mapped to the underscore character ( _ ). Set to 0, no mapping will occur. Set to 1, special characters will be mapped to the underscore. For details, see Mapping Domino Names to SQL Names.
ThreadTimeout 0 99,999 60 All calls are serialized so that they proceed one after the other. This parameter specifies the number of seconds one thread should wait for another thread to finish before timing out. Note that a value of 0 means wait forever.

下载:Lotes Domino For JDBC 1.5

本文作者:网友 来源:百度空间
CIO之家 www.ciozj.com 微信公众号:imciow
    >>频道首页  >>网站首页   纠错  >>投诉
版权声明:CIO之家尊重行业规范,每篇文章都注明有明确的作者和来源;CIO之家的原创文章,请转载时务必注明文章作者和来源;
延伸阅读
也许感兴趣的
我们推荐的
主题最新
看看其它的