Java Doc for JtdsDataSource.java in  » Database-JDBC-Connection-Pool » jTDS » net » sourceforge » jtds » jdbcx » 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.jdbcx 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   net.sourceforge.jtds.jdbcx.JtdsDataSource

JtdsDataSource
public class JtdsDataSource implements DataSource,ConnectionPoolDataSource,XADataSource,Referenceable,Serializable(Code)
The jTDS DataSource, ConnectionPoolDataSource and XADataSource implementation.
author:
   Alin Sinplean
since:
   jTDS 0.3
version:
   $Id: JtdsDataSource.java,v 1.42 2007/08/05 17:50:39 bheineman Exp $


Field Summary
protected  StringappName
    
protected  StringbatchSize
    
protected  StringbindAddress
    
protected  StringbufferDir
    
protected  StringbufferMaxMemory
    
protected  StringbufferMinPackets
    
protected  StringcacheMetaData
    
protected  Stringcharset
    
protected  StringdatabaseName
    
protected  Stringdescription
    
protected  Stringdomain
    
protected  Stringinstance
    
protected  Stringlanguage
    
protected  StringlastUpdateCount
    
protected  StringlobBuffer
    
protected  StringlogFile
    
protected  StringloginTimeout
    
protected  StringmacAddress
    
protected  StringmaxStatements
    
protected  StringnamedPipe
    
protected  StringpacketSize
    
protected  Stringpassword
    
protected  StringportNumber
    
protected  StringprepareSql
    
protected  StringprogName
    
protected  StringsendStringParametersAsUnicode
    
final static  longserialVersionUID
     Serial version UID.
protected  StringserverName
    
protected  StringserverType
    
protected  StringsocketTimeout
    
protected  Stringssl
    
protected  StringtcpNoDelay
    
protected  StringtdsVersion
    
protected  StringuseCursors
    
protected  StringuseJCIFS
    
protected  StringuseLOBs
    
protected  StringuseNTLMV2
    
protected  Stringuser
    
protected  Stringwsid
    
protected  StringxaEmulation
    

Constructor Summary
public  JtdsDataSource()
     Constructs a new datasource.

Method Summary
public  StringgetAppName()
    
public  intgetBatchSize()
    
public  StringgetBindAddress()
    
public  StringgetBufferDir()
    
public  intgetBufferMaxMemory()
    
public  intgetBufferMinPackets()
    
public  booleangetCacheMetaData()
    
public  StringgetCharset()
    
public  ConnectiongetConnection()
     Returns a new database connection.
public  ConnectiongetConnection(String user, String password)
     Returns a new database connection for the user and password specified.
public  StringgetDatabaseName()
    
public  StringgetDescription()
    
public  StringgetDomain()
    
public  StringgetInstance()
    
public  StringgetLanguage()
    
public  booleangetLastUpdateCount()
    
public  longgetLobBuffer()
    
public  StringgetLogFile()
    
public  PrintWritergetLogWriter()
    
public  intgetLoginTimeout()
    
public  StringgetMacAddress()
    
public  intgetMaxStatements()
    
public  booleangetNamedPipe()
    
public  intgetPacketSize()
    
public  StringgetPassword()
    
public  javax.sql.PooledConnectiongetPooledConnection()
     Returns a new pooled database connection.
public synchronized  javax.sql.PooledConnectiongetPooledConnection(String user, String password)
     Returns a new pooled database connection for the user and password specified.
public  intgetPortNumber()
    
public  intgetPrepareSql()
    
public  StringgetProgName()
    
public  ReferencegetReference()
    
public  booleangetSendStringParametersAsUnicode()
    
public  StringgetServerName()
    
public  intgetServerType()
    
public  intgetSocketTimeout()
    
public  StringgetSsl()
    
public  booleangetTcpNoDelay()
    
public  StringgetTds()
    
public  booleangetUseCursors()
    
public  booleangetUseJCIFS()
    
public  booleangetUseLOBs()
    
public  StringgetUseNTLMV2()
    
public  StringgetUser()
    
public  StringgetWsid()
    
public  XAConnectiongetXAConnection()
     Returns a new XA database connection.
public  XAConnectiongetXAConnection(String user, String password)
     Returns a new XA database connection for the user and password specified.
public  booleangetXaEmulation()
    
public  voidsetAppName(String appName)
    
public  voidsetBatchSize(int batchSize)
    
public  voidsetBindAddress(String bindAddress)
    
public  voidsetBufferDir(String bufferDir)
    
public  voidsetBufferMaxMemory(int bufferMaxMemory)
    
public  voidsetBufferMinPackets(int bufferMinPackets)
    
public  voidsetCacheMetaData(boolean cacheMetaData)
    
public  voidsetCharset(String charset)
    
public  voidsetDatabaseName(String databaseName)
    
public  voidsetDescription(String description)
    
public  voidsetDomain(String domain)
    
public  voidsetInstance(String instance)
    
public  voidsetLanguage(String language)
    
public  voidsetLastUpdateCount(boolean lastUpdateCount)
    
public  voidsetLobBuffer(long lobBuffer)
    
public  voidsetLogFile(String logFile)
    
public  voidsetLogWriter(PrintWriter out)
    
public  voidsetLoginTimeout(int loginTimeout)
    
public  voidsetMacAddress(String macAddress)
    
public  voidsetMaxStatements(int maxStatements)
    
public  voidsetNamedPipe(boolean namedPipe)
    
public  voidsetPacketSize(int packetSize)
    
public  voidsetPassword(String password)
    
public  voidsetPortNumber(int portNumber)
    
public  voidsetPrepareSql(int prepareSql)
    
public  voidsetProgName(String progName)
    
public  voidsetSendStringParametersAsUnicode(boolean sendStringParametersAsUnicode)
    
public  voidsetServerName(String serverName)
    
public  voidsetServerType(int serverType)
    
public  voidsetSocketTimeout(int socketTimeout)
    
public  voidsetSsl(String ssl)
    
public  voidsetTcpNoDelay(boolean tcpNoDelay)
    
public  voidsetTds(String tds)
    
public  voidsetUseCursors(boolean useCursors)
    
public  voidsetUseJCIFS(boolean useJCIFS)
    
public  voidsetUseLOBs(boolean useLOBs)
    
public  voidsetUseNTLMV2(String usentlmv2)
    
public  voidsetUser(String user)
    
public  voidsetWsid(String wsid)
    
public  voidsetXaEmulation(boolean xaEmulation)
    

Field Detail
appName
protected String appName(Code)



batchSize
protected String batchSize(Code)



bindAddress
protected String bindAddress(Code)



bufferDir
protected String bufferDir(Code)



bufferMaxMemory
protected String bufferMaxMemory(Code)



bufferMinPackets
protected String bufferMinPackets(Code)



cacheMetaData
protected String cacheMetaData(Code)



charset
protected String charset(Code)



databaseName
protected String databaseName(Code)



description
protected String description(Code)



domain
protected String domain(Code)



instance
protected String instance(Code)



language
protected String language(Code)



lastUpdateCount
protected String lastUpdateCount(Code)



lobBuffer
protected String lobBuffer(Code)



logFile
protected String logFile(Code)



loginTimeout
protected String loginTimeout(Code)



macAddress
protected String macAddress(Code)



maxStatements
protected String maxStatements(Code)



namedPipe
protected String namedPipe(Code)



packetSize
protected String packetSize(Code)



password
protected String password(Code)



portNumber
protected String portNumber(Code)



prepareSql
protected String prepareSql(Code)



progName
protected String progName(Code)



sendStringParametersAsUnicode
protected String sendStringParametersAsUnicode(Code)



serialVersionUID
final static long serialVersionUID(Code)
Serial version UID.



serverName
protected String serverName(Code)



serverType
protected String serverType(Code)



socketTimeout
protected String socketTimeout(Code)



ssl
protected String ssl(Code)



tcpNoDelay
protected String tcpNoDelay(Code)



tdsVersion
protected String tdsVersion(Code)



useCursors
protected String useCursors(Code)



useJCIFS
protected String useJCIFS(Code)



useLOBs
protected String useLOBs(Code)



useNTLMV2
protected String useNTLMV2(Code)



user
protected String user(Code)



wsid
protected String wsid(Code)



xaEmulation
protected String xaEmulation(Code)




Constructor Detail
JtdsDataSource
public JtdsDataSource()(Code)
Constructs a new datasource.




Method Detail
getAppName
public String getAppName()(Code)



getBatchSize
public int getBatchSize()(Code)



getBindAddress
public String getBindAddress()(Code)



getBufferDir
public String getBufferDir()(Code)



getBufferMaxMemory
public int getBufferMaxMemory()(Code)



getBufferMinPackets
public int getBufferMinPackets()(Code)



getCacheMetaData
public boolean getCacheMetaData()(Code)



getCharset
public String getCharset()(Code)



getConnection
public Connection getConnection() throws SQLException(Code)
Returns a new database connection. a new database connection
throws:
  SQLException - if an error occurs



getConnection
public Connection getConnection(String user, String password) throws SQLException(Code)
Returns a new database connection for the user and password specified.
Parameters:
  user - the user name to connect with
Parameters:
  password - the password to connect with a new database connection
throws:
  SQLException - if an error occurs



getDatabaseName
public String getDatabaseName()(Code)



getDescription
public String getDescription()(Code)



getDomain
public String getDomain()(Code)



getInstance
public String getInstance()(Code)



getLanguage
public String getLanguage()(Code)



getLastUpdateCount
public boolean getLastUpdateCount()(Code)



getLobBuffer
public long getLobBuffer()(Code)



getLogFile
public String getLogFile()(Code)



getLogWriter
public PrintWriter getLogWriter() throws SQLException(Code)



getLoginTimeout
public int getLoginTimeout() throws SQLException(Code)



getMacAddress
public String getMacAddress()(Code)



getMaxStatements
public int getMaxStatements()(Code)



getNamedPipe
public boolean getNamedPipe()(Code)



getPacketSize
public int getPacketSize()(Code)



getPassword
public String getPassword()(Code)



getPooledConnection
public javax.sql.PooledConnection getPooledConnection() throws SQLException(Code)
Returns a new pooled database connection. a new pooled database connection
throws:
  SQLException - if an error occurs



getPooledConnection
public synchronized javax.sql.PooledConnection getPooledConnection(String user, String password) throws SQLException(Code)
Returns a new pooled database connection for the user and password specified.
Parameters:
  user - the user name to connect with
Parameters:
  password - the password to connect with a new pooled database connection
throws:
  SQLException - if an error occurs



getPortNumber
public int getPortNumber()(Code)



getPrepareSql
public int getPrepareSql()(Code)



getProgName
public String getProgName()(Code)



getReference
public Reference getReference() throws NamingException(Code)



getSendStringParametersAsUnicode
public boolean getSendStringParametersAsUnicode()(Code)



getServerName
public String getServerName()(Code)



getServerType
public int getServerType()(Code)



getSocketTimeout
public int getSocketTimeout() throws SQLException(Code)



getSsl
public String getSsl()(Code)



getTcpNoDelay
public boolean getTcpNoDelay()(Code)



getTds
public String getTds()(Code)



getUseCursors
public boolean getUseCursors()(Code)



getUseJCIFS
public boolean getUseJCIFS()(Code)



getUseLOBs
public boolean getUseLOBs()(Code)



getUseNTLMV2
public String getUseNTLMV2()(Code)



getUser
public String getUser()(Code)



getWsid
public String getWsid()(Code)



getXAConnection
public XAConnection getXAConnection() throws SQLException(Code)
Returns a new XA database connection. a new database connection
throws:
  SQLException - if an error occurs



getXAConnection
public XAConnection getXAConnection(String user, String password) throws SQLException(Code)
Returns a new XA database connection for the user and password specified.
Parameters:
  user - the user name to connect with
Parameters:
  password - the password to connect with a new database connection
throws:
  SQLException - if an error occurs



getXaEmulation
public boolean getXaEmulation()(Code)



setAppName
public void setAppName(String appName)(Code)



setBatchSize
public void setBatchSize(int batchSize)(Code)



setBindAddress
public void setBindAddress(String bindAddress)(Code)



setBufferDir
public void setBufferDir(String bufferDir)(Code)



setBufferMaxMemory
public void setBufferMaxMemory(int bufferMaxMemory)(Code)



setBufferMinPackets
public void setBufferMinPackets(int bufferMinPackets)(Code)



setCacheMetaData
public void setCacheMetaData(boolean cacheMetaData)(Code)



setCharset
public void setCharset(String charset)(Code)



setDatabaseName
public void setDatabaseName(String databaseName)(Code)



setDescription
public void setDescription(String description)(Code)



setDomain
public void setDomain(String domain)(Code)



setInstance
public void setInstance(String instance)(Code)



setLanguage
public void setLanguage(String language)(Code)



setLastUpdateCount
public void setLastUpdateCount(boolean lastUpdateCount)(Code)



setLobBuffer
public void setLobBuffer(long lobBuffer)(Code)



setLogFile
public void setLogFile(String logFile)(Code)



setLogWriter
public void setLogWriter(PrintWriter out) throws SQLException(Code)



setLoginTimeout
public void setLoginTimeout(int loginTimeout) throws SQLException(Code)



setMacAddress
public void setMacAddress(String macAddress)(Code)



setMaxStatements
public void setMaxStatements(int maxStatements)(Code)



setNamedPipe
public void setNamedPipe(boolean namedPipe)(Code)



setPacketSize
public void setPacketSize(int packetSize)(Code)



setPassword
public void setPassword(String password)(Code)



setPortNumber
public void setPortNumber(int portNumber)(Code)



setPrepareSql
public void setPrepareSql(int prepareSql)(Code)



setProgName
public void setProgName(String progName)(Code)



setSendStringParametersAsUnicode
public void setSendStringParametersAsUnicode(boolean sendStringParametersAsUnicode)(Code)



setServerName
public void setServerName(String serverName)(Code)



setServerType
public void setServerType(int serverType)(Code)



setSocketTimeout
public void setSocketTimeout(int socketTimeout) throws SQLException(Code)



setSsl
public void setSsl(String ssl)(Code)



setTcpNoDelay
public void setTcpNoDelay(boolean tcpNoDelay)(Code)



setTds
public void setTds(String tds)(Code)



setUseCursors
public void setUseCursors(boolean useCursors)(Code)



setUseJCIFS
public void setUseJCIFS(boolean useJCIFS)(Code)



setUseLOBs
public void setUseLOBs(boolean useLOBs)(Code)



setUseNTLMV2
public void setUseNTLMV2(String usentlmv2)(Code)



setUser
public void setUser(String user)(Code)



setWsid
public void setWsid(String wsid)(Code)



setXaEmulation
public void setXaEmulation(boolean xaEmulation)(Code)



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.