Jquery中文網 伊蒂哈德7比2 www.jvkwgx.com.cn
Jquery中文網 >  腳本編程  >  java  >  正文 數據庫連接之jtds介紹(待翻譯)

伊蒂哈德vs塔什干火车头:數據庫連接之jtds介紹(待翻譯)

發布時間:2019-10-07   編輯:伊蒂哈德7比2 www.jvkwgx.com.cn
jquery中文網為您提供數據庫連接之jtds介紹(待翻譯)等資源,歡迎您收藏本站,我們將為您提供最新的數據庫連接之jtds介紹(待翻譯)資源
<script>ec(2);</script>

Getting Started
What are the class names of the Driver, DataSource, ConnectionPoolDataSource and XADataSource implementations?
Interface
jTDS Implementation
java.sql.Driver
net.sourceforge.jtds.jdbc.Driver
javax.sql.DataSource
net.sourceforge.jtds.jdbcx.JtdsDataSource
javax.sql.ConnectionPoolDataSource
net.sourceforge.jtds.jdbcx.JtdsDataSource
javax.sql.XADataSource
net.sourceforge.jtds.jdbcx.JtdsDataSource
^ top ^
What is the URL format used by jTDS?
The URL format for jTDS is: jdbc:jtds:<server_type>://<server>[:<port>][/<database>][;<property>=<value>[;...]]
where <server_type> is one of either 'sqlserver' or 'sybase' (their meaning is quite obvious), <port> is the port the database server is listening to (default is 1433 for SQL Server and 7100 for Sybase) and <database> is the database name -- JDBC term: catalog -- (if not specified, the user's default database is used). The set of properties supported by jTDS is:
user (required)
User name to use for login. When using getConnection(String url, String user, String password) it's not required to set this property as it is passed as parameter, but you will have to set it when using getConnection(String url, Properties info) or TdsDataSource.
password (required)
Password to use for login. When using getConnection(String url, String user, String password) it's not required to set this property as it is passed as parameter, but you will have to set it when using getConnection(String url, Properties info) or TdsDataSource.
TDS (default - "8.0" for SQL Server; "5.0" for Sybase)
The version of TDS to be used. TDS (Tabular Data Stream) is the protocol used by Microsoft SQL Server and Sybase to communicate with database clients. jTDS can use TDS 4.2, 5.0, 7.0 and 8.0. Version 4.2 is used by SQL Server 6.5 and Sybase 10. Version 5.0 is used with Sybase 11 onwards. Version 7.0 is used by SQL Server 7.0; this protocol also works with SQL Server 2000. Version 8.0 is used by SQL Server 2000 and SQL Server 2005.

伊蒂哈德7比2 www.jvkwgx.com.cn 您可能感興趣的文章:
asp.net性能優化方法-數據庫訪問性能優化
PostgreSQL從菜鳥到專家系列教程(7)數據定義 布爾數據類型
jQuery AnythingSlider滑動效果插件
PostgreSQL數據庫熱備
phpcms教程之shtml的設置方法
Highcharts教程 Highcharts翻譯索引頁
db2常用命令大全-基礎篇
fedora上編譯安裝開源軟件須注意的問題
jQuery Translate Plugin
配置memcached集群負載均衡

[關閉]