Java Doc for Driver.java in  » Database-JDBC-Connection-Pool » jTDS » net » sourceforge » jtds » jdbc » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Database JDBC Connection Pool » jTDS » net.sourceforge.jtds.jdbc 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   net.sourceforge.jtds.jdbc.Driver

Driver
public class Driver implements java.sql.Driver(Code)
jTDS implementation of the java.sql.Driver interface.

Implementation note:

  1. Property text names and descriptions are loaded from an external file resource. This allows the actual names and descriptions to be changed or localised without impacting this code.
  2. The way in which the URL is parsed and converted to properties is rather different from the original jTDS Driver class. See parseURL and Connection.unpackProperties methods for more detail.

See Also:   java.sql.Driver
author:
   Brian Heineman
author:
   Mike Hutchinson
author:
   Alin Sinpalean
version:
   $Id: Driver.java,v 1.70 2007/08/02 22:35:27 bheineman Exp $


Field Summary
final public static  StringAPPNAME
    
final public static  StringBATCHSIZE
    
final public static  StringBINDADDRESS
    
final public static  StringBUFFERDIR
    
final public static  StringBUFFERMAXMEMORY
    
final public static  StringBUFFERMINPACKETS
    
final public static  StringCACHEMETA
    
final public static  StringCHARSET
    
final public static  StringDATABASENAME
    
final public static  StringDOMAIN
    
final public static  StringINSTANCE
    
final public static  booleanJDBC3
     Set if the JDBC specification to implement is 3.0 or greater.
final public static  StringLANGUAGE
    
final public static  StringLASTUPDATECOUNT
    
final public static  StringLOBBUFFER
    
final public static  StringLOGFILE
    
final public static  StringLOGINTIMEOUT
    
final public static  StringMACADDRESS
    
final static  intMAJOR_VERSION
     Driver major version.
final public static  StringMAXSTATEMENTS
    
final static  intMINOR_VERSION
     Driver minor version.
final static  StringMISC_VERSION
     Driver version miscellanea (e.g "-rc2", ".1" or null).
final public static  StringNAMEDPIPE
    
final public static  StringPACKETSIZE
    
final public static  StringPASSWORD
    
final public static  StringPORTNUMBER
    
final public static  StringPREPARESQL
    
final public static  StringPROGNAME
    
final public static  StringSENDSTRINGPARAMETERSASUNICODE
    
final public static  StringSERVERNAME
    
final public static  StringSERVERTYPE
    
final public static  StringSOTIMEOUT
    
final public static  intSQLSERVER
     Microsoft SQL Server.
final public static  StringSSL
    
final public static  intSYBASE
     Sybase ASE.
final public static  StringTCPNODELAY
    
final public static  StringTDS
    
final public static  intTDS42
     TDS 4.2 protocol (SQL Server 6.5 and later and Sybase 9 and later).
final public static  intTDS50
     TDS 5.0 protocol (Sybase 10 and later).
final public static  intTDS70
     TDS 7.0 protocol (SQL Server 7.0 and later).
final public static  intTDS80
    
final public static  intTDS81
     TDS 8.1 protocol (SQL Server 2000 SP1 and later).
final public static  StringUSECURSORS
    
final public static  StringUSEJCIFS
    
final public static  StringUSELOBS
    
final public static  StringUSENTLMV2
    
final public static  StringUSER
    
final public static  StringWSID
    
final public static  StringXAEMULATION
    


Method Summary
public  booleanacceptsURL(String url)
    
public  Connectionconnect(String url, Properties info)
    
public  intgetMajorVersion()
    
public  intgetMinorVersion()
    
public  DriverPropertyInfo[]getPropertyInfo(String url, Properties props)
    
final public static  StringgetVersion()
     Returns the driver version.
public  booleanjdbcCompliant()
    
public static  voidmain(String[] args)
    
public  StringtoString()
     Returns the string form of the object.

Field Detail
APPNAME
final public static String APPNAME(Code)



BATCHSIZE
final public static String BATCHSIZE(Code)



BINDADDRESS
final public static String BINDADDRESS(Code)



BUFFERDIR
final public static String BUFFERDIR(Code)



BUFFERMAXMEMORY
final public static String BUFFERMAXMEMORY(Code)



BUFFERMINPACKETS
final public static String BUFFERMINPACKETS(Code)



CACHEMETA
final public static String CACHEMETA(Code)



CHARSET
final public static String CHARSET(Code)



DATABASENAME
final public static String DATABASENAME(Code)



DOMAIN
final public static String DOMAIN(Code)



INSTANCE
final public static String INSTANCE(Code)



JDBC3
final public static boolean JDBC3(Code)
Set if the JDBC specification to implement is 3.0 or greater.



LANGUAGE
final public static String LANGUAGE(Code)



LASTUPDATECOUNT
final public static String LASTUPDATECOUNT(Code)



LOBBUFFER
final public static String LOBBUFFER(Code)



LOGFILE
final public static String LOGFILE(Code)



LOGINTIMEOUT
final public static String LOGINTIMEOUT(Code)



MACADDRESS
final public static String MACADDRESS(Code)



MAJOR_VERSION
final static int MAJOR_VERSION(Code)
Driver major version.



MAXSTATEMENTS
final public static String MAXSTATEMENTS(Code)



MINOR_VERSION
final static int MINOR_VERSION(Code)
Driver minor version.



MISC_VERSION
final static String MISC_VERSION(Code)
Driver version miscellanea (e.g "-rc2", ".1" or null).



NAMEDPIPE
final public static String NAMEDPIPE(Code)



PACKETSIZE
final public static String PACKETSIZE(Code)



PASSWORD
final public static String PASSWORD(Code)



PORTNUMBER
final public static String PORTNUMBER(Code)



PREPARESQL
final public static String PREPARESQL(Code)



PROGNAME
final public static String PROGNAME(Code)



SENDSTRINGPARAMETERSASUNICODE
final public static String SENDSTRINGPARAMETERSASUNICODE(Code)



SERVERNAME
final public static String SERVERNAME(Code)



SERVERTYPE
final public static String SERVERTYPE(Code)



SOTIMEOUT
final public static String SOTIMEOUT(Code)



SQLSERVER
final public static int SQLSERVER(Code)
Microsoft SQL Server.



SSL
final public static String SSL(Code)



SYBASE
final public static int SYBASE(Code)
Sybase ASE.



TCPNODELAY
final public static String TCPNODELAY(Code)



TDS
final public static String TDS(Code)



TDS42
final public static int TDS42(Code)
TDS 4.2 protocol (SQL Server 6.5 and later and Sybase 9 and later).



TDS50
final public static int TDS50(Code)
TDS 5.0 protocol (Sybase 10 and later).



TDS70
final public static int TDS70(Code)
TDS 7.0 protocol (SQL Server 7.0 and later).



TDS80
final public static int TDS80(Code)
TDS 8.0 protocol (SQL Server 2000 and later)



TDS81
final public static int TDS81(Code)
TDS 8.1 protocol (SQL Server 2000 SP1 and later).



USECURSORS
final public static String USECURSORS(Code)



USEJCIFS
final public static String USEJCIFS(Code)



USELOBS
final public static String USELOBS(Code)



USENTLMV2
final public static String USENTLMV2(Code)



USER
final public static String USER(Code)



WSID
final public static String WSID(Code)



XAEMULATION
final public static String XAEMULATION(Code)





Method Detail
acceptsURL
public boolean acceptsURL(String url) throws SQLException(Code)



connect
public Connection connect(String url, Properties info) throws SQLException(Code)



getMajorVersion
public int getMajorVersion()(Code)



getMinorVersion
public int getMinorVersion()(Code)



getPropertyInfo
public DriverPropertyInfo[] getPropertyInfo(String url, Properties props) throws SQLException(Code)



getVersion
final public static String getVersion()(Code)
Returns the driver version.

Per [908906] 0.7: Static Version information, please. the driver version




jdbcCompliant
public boolean jdbcCompliant()(Code)



main
public static void main(String[] args)(Code)



toString
public String toString()(Code)
Returns the string form of the object.

Per [887120] DriverVersion.getDriverVersion(); this will return a short version name.

Added back to driver per [1006449] 0.9rc1: Driver version broken the driver version




Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.