Categories:
Audio (13)
Biotech (29)
Bytecode (36)
Database (77)
Framework (7)
Game (7)
General (507)
Graphics (53)
I/O (35)
IDE (2)
JAR Tools (101)
JavaBeans (21)
JDBC (121)
JDK (426)
JSP (20)
Logging (108)
Mail (58)
Messaging (8)
Network (84)
PDF (97)
Report (7)
Scripting (84)
Security (32)
Server (121)
Servlet (26)
SOAP (24)
Testing (54)
Web (15)
XML (309)
Collections:
Other Resources:
jTDS JDBC Driver Source Code Files
jTDS JDBC Driver Source Code Files are provided in the source package file, jtds-1.3.1-fyi.zip.
You can browse jTDS JDBC Driver Source Code files below:
✍: FYIcenter.com
⏎ net/sourceforge/jtds/jdbcx/JtdsXAConnection.java
//jTDS JDBC Driver for Microsoft SQL Server and Sybase //Copyright (C) 2004 The jTDS Project // //This library is free software; you can redistribute it and/or //modify it under the terms of the GNU Lesser General Public //License as published by the Free Software Foundation; either //version 2.1 of the License, or (at your option) any later version. // //This library is distributed in the hope that it will be useful, //but WITHOUT ANY WARRANTY; without even the implied warranty of //MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU //Lesser General Public License for more details. // //You should have received a copy of the GNU Lesser General Public //License along with this library; if not, write to the Free Software //Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA // package net.sourceforge.jtds.jdbcx; import java.sql.Connection; import java.sql.SQLException; import javax.sql.XAConnection; import javax.transaction.xa.XAResource; import net.sourceforge.jtds.jdbc.XASupport; /** * jTDS implementation of the <code>XAConnection</code> interface. * * @version $Id: JtdsXAConnection.java,v 1.4 2005-04-28 14:29:30 alin_sinpalean Exp $ */ public class JtdsXAConnection extends PooledConnection implements XAConnection { /** The XAResource used by the transaction manager to control this connection.*/ private final XAResource resource; private final JtdsDataSource dataSource; private final int xaConnectionId; /** * Construct a new <code>XAConnection</code> object. * * @param dataSource the parent <code>DataSource</code> object * @param connection the real database connection */ public JtdsXAConnection(JtdsDataSource dataSource, Connection connection) throws SQLException { super(connection); this.resource = new JtdsXAResource(this, connection); this.dataSource = dataSource; xaConnectionId = XASupport.xa_open(connection); } /** * Retrieves the XA Connection ID to pass to server. * * @return the XA connection ID as an <code>Integer</code> */ int getXAConnectionID() { return this.xaConnectionId; } // // ------------------- javax.sql.XAConnection interface methods ------------------- // public XAResource getXAResource() throws SQLException { return resource; } public synchronized void close() throws SQLException { try { XASupport.xa_close(connection, xaConnectionId); } catch (SQLException e) { // Ignore close errors } super.close(); } protected JtdsDataSource getXADataSource() { return this.dataSource; } }
⏎ net/sourceforge/jtds/jdbcx/JtdsXAConnection.java
Or download all of them as a single archive file:
File name: jtds-1.3.1-fyi.zip File size: 323160 bytes Release date: 2013-06-08 Download
⇐ What Is jtds-1.3.1-dist.zip?
2016-11-26, 7825👍, 0💬
Popular Posts:
Joda-Time provides a quality replacement for the Java date and time classes. The design allows for m...
JDK 11 jdk.xml.dom.jmod is the JMOD file for JDK 11 XML DOM module. JDK 11 XML DOM module compiled c...
JDK 11 jdk.jdi.jmod is the JMOD file for JDK 11 JDI (Java Debug Interface) tool. JDK 11 JDI tool com...
XOM™ is a new XML object model. It is an open source (LGPL), tree-based API for processing XML with ...
Java Servlet 3.0 Specification API. JAR File Size and Download Location: File name: servlet-api.jar,...