Skip to content
Commits on Source (8)
===============================================================================
06/08/2013 - jTDS 1.3.1 released
===============================================================================
Changes from jTDS 1.3.0
=======================
06/02/2013 - Holger Rehn
o Fixed bug #702, JtdsConnection.getMutex() isn't thread-safe.
o jTDS throws an SQLTimeoutException if an operation times out (bug #701).
05/16/2013 - Holger Rehn
o Added range check to class BlobBuffer as proposed by Benedict Elliott Smith.
o Applied patch for explicitly creating an in-memory BlobBuffer provided by
Benedict Elliott Smith.
05/03/2013 - Holger Rehn
o Fixed a bug that could cause the statement cache to be disabled.
o Improved statement cache performance.
o Removed unnecessary synchronization overhead from SQL statement parser.
05/01/2013 - Holger Rehn
o Fixed bug #687, JtdsObjectFactory don't accept the connection property name
mappings used in jTDS versions up to jTDS 1.2.6.
04/02/2013 - Holger Rehn
o Fixed bug #699, conversion from timestamp String to Date fails.
03/18/2013 - Holger Rehn
o Backported Kerberos support from jTDS 2.0.
03/08/2013 - Holger Rehn
o Improved fix for bug #694, the previous attempt wasn't sufficient.
03/07/2013 - Holger Rehn
o Applied fix for bug #695 provided by Keith Robinson.
o Fixed bug #694, jTDS logger may cause an NPE.
02/24/2013 - Holger Rehn
o Fixed bug #508, the driver ignored unspecified server errors signaled by a
TDS DONE token if no ERROR token has been received before.
02/18/2013 - Holger Rehn
o Fixed bug #682, error when using date/time escapes in a procedure call.
01/25/2013 - Holger Rehn
o Added test for JDBC date/time escapes used in a procedure call.
12/24/2012 - Holger Rehn
o Added test for bug #686, SQL error invalidates a Statement's internal state.
o Fixed bug #626 by added a type mapping for java.math.BigInteger.
12/19/2012 - Holger Rehn
o Applied fix for MSSQL 2000 compatibility provided by Andrew Fink (bug #683).
11/15/2012 - Holger Rehn
o Fixed bug #552, jTDS fails to find an SQL Server instance if the discovery
requests' response is split into multiple network packets.
10/28/2012 - Holger Rehn
o Added test for bug #575, parameter types not available via ParameterMetaData.
o Fixed build script, Maven artifacts are no longer included in the distro
package.
===============================================================================
10/27/2012 - jTDS 1.3.0 released
===============================================================================
Changes from jTDS 1.2.6
=======================
10/26/2012 - Holger Rehn
o Added test for bug #638, preparedStatement.setTimestamp sets seconds to 0.
o Added test for bug #644, updateNull not working with MSSQL DECIMAL field.
o Added test for bug #500, Statement.execute() fails if using cursors and
SHOWPLAN_ALL is set to ON.
o Fixed bug #528, any ResultSet gets dropped when using RETURN_GENERATED_KEYS.
o A ResultSet returned by Statement.getGeneratedKeys() is no longer updatable.
10/25/2012 - Holger Rehn
o Improved the database meta data by adding (JDBC4) column IS_AUTOINCREMENT.
o Removed unnecessary console logging from various unit tests.
o Improved performance by implementing non-blocking access to internal state.
o Improved overall driver performance by avoiding lookup of virtual data
streams, required for any request/response.
10/24/2012 - Holger Rehn
o Fixed a bug that caused Statement.close() to throw an exception for errors
caused by previously executed SQL statements.
o Added unit tests for bugs #473 and #635.
10/23/2012 - Holger Rehn
o Implemented non-locking SharedSocket finalizer (bug #609).
o Greatly improved virtual socket management performance if a large number of
statements is opened for a single connection.
o Improved logging, data stream IDs are not reused for a reasonable time span.
10/18/2012 - Holger Rehn
o Added test for bug #632, year-check 1753-9999 not valid for type DATE.
o Added test for bug #624, MS SQL Server 2008 full text search problem.
o Removed shell scripts for building jTDS from the Windows/Linux console.
o Extended build process to create and upload Maven artifacts to sonatype.org
(bug #636, bug #668, feature request #49, feature request #70).
10/15/2012 - Holger Rehn
o Fixed various JUnit tests causing warnings.
10/10/2012 - Holger Rehn
o Fixed format conversion errors for DATETIME, DATE and TIME values.
o Fixed bug #615, the SQL parser doesn't correctly handle function escapes
containing nested (unescaped) functions.
o Fixed bug #634, incorrect comment processing in callable statements.
10/09/2012 - Holger Rehn
o Fixed parameter name format for procedure calls using named parameters.
o Fixed unit tests that depend on date/time data types to be skipped if run
against a server not supporting that types.
10/08/2012 - Holger Rehn
o Fixed bug #647, preparing a statement including a WITH clause doesn't
retrieve resultset meta data.
10/06/2012 - Holger Rehn
o Added unit tests for bug #654 and the SQL parser bug reported in patch #115.
10/05/2012 - Holger Rehn
o Implemented support for the COMPUTE (BY) operator (bug #678, patch #48) and
added corresponding unit tests.
10/02/2012 - Holger Rehn
o Improved performance by using StringBuilder instead of StringBuffer.
o Corrected unit test for bug #507, the executing thread's interruption state
hasn't been cleared, causing subsequent tests to fail.
o Fixed bug #677, possible deadlock in JtdsStatement.close().
10/01/2012 - Holger Rehn
o Added test for bug #677.
o Fixed and greatly simplified SAfeTest.testCursorResultSetConcurrency0003().
o Fixed unit test for bug #343, failing if run against SQL Server 2005.
09/28/2012 - Holger Rehn
o Improved JUnit tests, setting server language "US-English" prevents a number
of tests from failing.
o Improved performance of ResultSetTest.testOutOfMemory() by about 100%.
o Corrected JUnit test for timestamp values prior to 06/15/1940 0:00:00.
o Fixed bug #676, error in SQL parser concerning multi line comments.
o Fixed bug #541, data type mismatch when using {ts}/{t}/{d} JDBC escapes and
added regression tests.
o Added test for bug #676.
o Improved test for bug #634.
09/27/2012 - Holger Rehn
o PreparedStatementTest.testPrepareFailWarning() doesn't fail anymore when run
against newer SQL Server versions or Sybase ASE.
09/26/2012 - Holger Rehn
o Added test for bug #634.
09/25/2012 - Holger Rehn
o Added test for bug #669.
o Fixed StatementTest to be less strict when checking query timeout.
09/24/2012 - Holger Rehn
o The driver now uses a real MAC address, if available and no address has been
specified via connection property (bug #672).
09/22/2012 - Holger Rehn
o Fixed a number of incorrect error messages.
o An attempt to execute a standard SQL statement using a CallableStatement now
throws an appropriate SQLException on preparation instead of spurious errors
when setting parameter values (bug #637).
o Test for bug #637.
09/21/2012 - Holger Rehn
o Fixed possible NPEs in JtdsObjectFactory (bug #633).
o Added missing getter/setter methods for connection property "autoCommit" in
class JtdsDataSource.
o Corrected data types for connection properties "autoCommit" and "useNTLMv2".
o Added missing properties to JtdsObjectFactoryUnitTest.testNoProperties().
o Added missing default for connection property "useNTLMv2".
o Corrected and simplified JtdsObjectFactoryTest and JtdsDataSourceTest.
o Fixed memory pollution caused by ThreadLocal Calendar instances (bug #661).
o Improved fix for bug #561 and bug #619 by not re-using GregorianCalendar
instances anymore.
o Implemented ResultSet.isClosed() method defined in JDBC 4.0 (bug #665).
09/20/2012 - Holger Rehn
o Added test for bug #657.
09/18/2012 - Holger Rehn
o Fixed buffer overflow in SQL parser (bug #673).
o Added missing description for 'autoCommit' property added in revision [1123].
o Corrected a number of JUnit tests.
09/07/2012 - Holger Rehn
o Fixed jTDS version reported by the driver.
08/22/2012 - Holger Rehn
o Updated feature matrix for SQL Server 2008 compatibility (bug #643).
08/21/2012 - Holger Rehn
o Applied build system changes proposed by Rainer Schwarze in patch #105.
o Added compiler settings missing in some build files.
o Applied patch #122 provided by Rainer Schwarze to use the Java build-in
DES and MD5 routines instead of our own implementations.
08/17/2012 - Holger Rehn
o Added service provider configuration file for JDBC driver class (bug #659).
o Applied patch provided by Rainer Schwarze to reduce log pollution during
emulated XA recovery (bug #656).
o Fixed spurious login timeouts that could occur in case multiple connections
are established concurrently (bug #667).
o Corrected bug, a stream hasn't been closed in CharsetInfo (Bug #642).
08/16/2012 - Holger Rehn
o Fixed typos in Messages.properties (bug #608).
o Removed build scripts for older Java versions.
o Re-included tests not compatible with older Java versions.
o Updated project web site.
o Removed obsolete libraries from project.
o Upgraded Apache Ant to version 1.8.4.
o Upgraded JUnit to version 4.10.
o Upgraded jCIFS to version 1.3.17
o Removed Java 1.3/JDBC 2 compatibility code.
o Removed WebRing code from the project web site (bug #660).
o Fixed a race condition when closing a JtdsStatement in multiple threads
concurrently (Patch #121, #118).
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|| ||
|| SourceForge Project Upgrade ||
|| ||
|| The previous tracker item IDs have been replaced by individual bug/patch ||
|| IDs and are no longer valid. ||
|| ||
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
===============================================================================
08/15/2012 - jTDS 1.2.6 released
===============================================================================
Changes from jTDS 1.2.5
=======================
08/15/2012 - Holger Rehn
o Applied patch [3048203] by amallon, adding a new 'autoCommit' connection
property to override the auto commit default for newly created connections.
o Commented out tests not compatible with Java 1.4, that have been added since
the jTDS 1.2.5 release.
o Adopted build scripts to exclude test classes from distro.
03/22/2012 - Holger Rehn
o Applied patch [3476715] for bug [3260570] provided by Apaali, parsing
time values containing fractions of seconds may fail.
o Applied fix [3436324] suggested by Shane StClair, JtdsStatement.close()
failed due to invalid state.
09/04/2011 - Holger Rehn
o Applied patch [3290370] by Maarten van der Zwaart, re-send UDP recovery
packet when connecting an SQL Server by instance name.
o Applied patch [3224480] by Shane StClair, adding support for spatial types
geometry/geography for TDS versions greater than 7.0.
o Applied patch [3307731] by Rainer Schwarze, ResultSet cancellation may cause
connection to be closed.
o Applied backport of IPv6 support from 2.0 branch provided by George Dimitrov
and his unit test for the URL parser (patch [3402583]).
01/02/2011 - Holger Rehn
o Corrected bug [3141458], NPE if ResultSet.next() and ResultSet.close() are
called by multiple threads concurrently.
10/07/2010 - Holger Rehn
o Corrected bug [3078236], exception chaining time grows exponentially with
number of exceptions in chain.
o Corrected bug [3081749], SSPIJNIClient.getInstance() isn't thread-safe.
o Corrected a bug in JtdsStatement.close(), any RuntimeException would have
masked a prior SQLException.
o Improved fix for bug [2931326], Statement.close() cannot throw NPE anymore.
05/17/2010 - Holger Rehn
o Corrected bug [2931326], NPE if Statement.close() is called by multiple
threads concurrently.
o Applied fix for bug [3002431] by Rainer Schwarze, improved handling of port
discovery errors.
o Improved error messages if a value cannot be converted to a given SQL type.
o Corrected bug [3000472], TimerThread started when closing last connection.
o Fixed method synchronization in TimerThread.
===============================================================================
12/30/2009 - jTDS 1.2.5 released
===============================================================================
......
......@@ -2,7 +2,7 @@ SSL (TLS) support for jTDS
==========================
Author: Rob Worsnop
Version: $Id: README.SSL,v 1.1 2005/01/13 17:26:50 alin_sinpalean Exp $
Version: $Id: README.SSL,v 1.1 2005-01-13 17:26:50 alin_sinpalean Exp $
The challenge
=============
......
......@@ -10,6 +10,12 @@ Introduction
This document describes the design of the Single Sign On implementation in
the jTDS JDBC driver.
(Note: This feature requires DES and MD5 implementations. The JCA/JCE
is used to access such implementations. The algorithms were previously
implemented directly in jTDS' sources, but to eliminate export control
restrictions, they were removed and the code now uses the JCA/JCE. Note
that MD4 is still implemented directly in jTDS.)
Releases 0.9.1 and earlier of jTDS driver support Windows authentication by
means of the NTLM protocol. That is, clients using the JDBC Driver passes
a valid Windows-Domain-Name, a Windows User and Windows Password; the JDBC
......@@ -189,4 +195,4 @@ Modifications to jTDS Classes
Magendran Sathaiah
mahi@aztec.soft.net
Version: $Id: README.SSO,v 1.1 2004/12/21 12:06:59 alin_sinpalean Exp $
Version: $Id: README.SSO,v 1.1 2004-12-21 12:06:59 alin_sinpalean Exp $
@echo off
if "%JAVA_HOME%" == "" goto error
set _javatemp=%JAVA_HOME%
echo.
echo Building jTDS...
echo ----------------
IF NOT %JAVA_HOME:~-1% == \ set JAVA_HOME=%JAVA_HOME%\
set LOCALCLASSPATH=%JAVA_HOME%lib\tools.jar
REM set LOCALCLASSPATH=%LOCALCLASSPATH%;%ANT_HOME%\lib\ant.jar
REM set LOCALCLASSPATH=%LOCALCLASSPATH%;%ANT_HOME%\lib\optional.jar
for %%i in (lib\*.jar) do call lcp.bat %%i
echo.
echo Building with classpath %LOCALCLASSPATH%
echo.
echo Starting Ant...
"%JAVA_HOME%bin\java.exe" -Dant.home="." -classpath "%LOCALCLASSPATH%" org.apache.tools.ant.Main %1 %2 %3 %4 %5
goto end
:error
echo "ERROR: JAVA_HOME not found in your environment."
echo.
echo "Please, set the JAVA_HOME variable in your environment to match the"
echo "location of the Java Virtual Machine you want to use."
:end
set LOCALCLASSPATH=
set ANT_HOME=
set JAVA_HOME=%_javatemp%
#
# A simple sh script to run ant
#
# export JAVA_HOME=/usr/java/jdk1.3.1_01
LCP=$JAVA_HOME/lib/tools.jar
for i in `ls lib/*.jar`
do
LCP=$LCP:`pwd`/$i
done
$JAVA_HOME/bin/java -cp $LCP org.apache.tools.ant.Main $@
<?xml version="1.0" encoding="UTF-8"?>
<project basedir="." default="compile" name="jtds">
<project basedir="." default="compile" name="jtds" xmlns:artifact="antlib:org.apache.maven.artifact.ant">
<path id="libs">
<fileset dir="lib" includes="*.jar"/>
</path>
<!-- include maven ant task lib -->
<path id="maven-ant-tasks.classpath" path="lib/maven-ant-tasks-2.1.3.jar" />
<typedef resource="org/apache/maven/artifact/ant/antlib.xml" uri="antlib:org.apache.maven.artifact.ant" classpathref="maven-ant-tasks.classpath" />
<target name="init">
<tstamp/>
......@@ -19,7 +22,7 @@
<property name="dist" value="dist"/>
<property name="test" value="test"/>
<property name="version" value="1.2.5"/>
<property name="version" value="1.3.1"/>
</target>
<target name="clean" depends="init">
......@@ -30,44 +33,83 @@
<target name="prepare" depends="init">
<mkdir dir="${build}"/>
<mkdir dir="${build}/classes"/>
<mkdir dir="${build}/testclasses"/>
<mkdir dir="${build}/src"/>
<mkdir dir="${build}/testsrc"/>
<mkdir dir="${build}/testrep"/>
<copy todir="${build}/src">
<fileset dir="${src}/main" includes="**/*.java"/>
</copy>
<copy todir="${build}/src">
<copy todir="${build}/testsrc">
<fileset dir="${src}/test" includes="**/*.java"/>
</copy>
<copy todir="${build}/classes">
<fileset dir="${src}/main" includes="**/*.properties"/>
</copy>
<copy todir="${build}/testclasses">
<fileset dir="${src}/test" includes="**/*.properties"/>
</copy>
</target>
<target name="compile" depends="init,prepare">
<javac destdir="${build}/classes" srcdir="${build}/src" classpathref="libs" debug="${javac.debug}" optimize="${javac.optimize}" encoding="latin1"/>
</target>
<target name="compile-test" depends="init,prepare,compile">
<javac destdir="${build}/testclasses" srcdir="${build}/testsrc" classpathref="libs" classpath="${build}/classes" debug="${javac.debug}" optimize="${javac.optimize}" encoding="latin1"/>
</target>
<target name="javadoc" depends="prepare">
<mkdir dir="${build}/doc"/>
<javadoc sourcepath="${build}/src" destdir="${build}/doc" packagenames="net.sourceforge.jtds.*" Author="true"
<javadoc sourcepath="${build}/src;${build}/testsrc" destdir="${build}/doc" packagenames="net.sourceforge.jtds.*" Author="true"
Doctitle="jTDS API Documentation" Use="true" Version="true" bottom="Generated on ${TODAY}"
Windowtitle="jTDS API" Private="true" classpathref="libs" encoding="latin1">
<tag name="todo" description="To do:"/>
<tag name="created" description="Created:"/>
</javadoc>
<!-- create Maven javadoc artifact -->
<jar basedir="${build}/doc"
excludes="**/*Test*/**"
includes="**/*"
jarfile="${build}/${ant.project.name}-${version}-javadoc.jar">
<manifest>
<attribute name="Implementation-Title" value="jTDS JDBC Driver"/>
<attribute name="Implementation-Version" value="${version}"/>
<attribute name="Implementation-URL" value="http://jtds.sourceforge.net"/>
<attribute name="Specification-Title" value="JDBC"/>
<attribute name="Specification-Version" value="3.0"/>
<attribute name="Main-Class" value="net.sourceforge.jtds.jdbc.Driver"/>
</manifest>
</jar>
<!-- create Maven sources artifact -->
<jar basedir="${build}/src"
excludes="**/*Test*/**"
includes="**/*.java"
jarfile="${build}/${ant.project.name}-${version}-sources.jar">
<manifest>
<attribute name="Implementation-Title" value="jTDS JDBC Driver"/>
<attribute name="Implementation-Version" value="${version}"/>
<attribute name="Implementation-URL" value="http://jtds.sourceforge.net"/>
<attribute name="Specification-Title" value="JDBC"/>
<attribute name="Specification-Version" value="3.0"/>
</manifest>
</jar>
</target>
<target name="test" depends="compile">
<target name="test" depends="compile,compile-test">
<taskdef name="junit" classname="org.apache.tools.ant.taskdefs.optional.junit.JUnitTask"/>
<junit fork="no" haltonfailure="no" printsummary="yes">
<classpath>
<pathelement location="build/classes"/>
<pathelement location="build/testclasses"/>
<path refid="libs"/>
</classpath>
<formatter type="plain"/>
<batchtest>
<fileset dir="${build}/src">
<batchtest todir="${build}/testrep" >
<fileset dir="${build}/testsrc">
<include name="**/*Test.java"/>
<exclude name="**/AllTests.java"/>
</fileset>
......@@ -77,9 +119,14 @@
<target name="dist" depends="clean,compile,javadoc">
<mkdir dir="${dist}"/>
<!-- Runtime jar -->
<!-- runtime jar -->
<copy todir="${build}/classes/META-INF">
<fileset dir="${src}/META-INF" includes="**/*"/>
</copy>
<jar basedir="${build}/classes"
excludes="net/sourceforge/jtds/test/*.class"
excludes="**/*Test*/**"
includes="**/*"
jarfile="${build}/${ant.project.name}-${version}.jar">
<manifest>
......@@ -88,30 +135,28 @@
<attribute name="Implementation-URL" value="http://jtds.sourceforge.net"/>
<attribute name="Specification-Title" value="JDBC"/>
<attribute name="Specification-Version" value="3.0"/>
<attribute name="Class-Path" value="jcifs.jar"/>
<attribute name="Main-Class" value="net.sourceforge.jtds.jdbc.Driver"/>
</manifest>
</jar>
<!-- Source package -->
<!-- source package -->
<mkdir dir="${dist}/tmp"/>
<copy todir="${dist}/tmp/doc">
<fileset dir="${build}/doc" includes="**/*"/>
</copy>
<mkdir dir="${dist}/tmp"/>
<copy todir="${dist}/tmp">
<fileset dir="." includes="README,README.SSL,README.XA,README.SSO,CHANGELOG,LICENSE,*.bat,*.sh,*.xml,src/**/*,lib/**/*,html/**/*,conf/**/*.xml,conf/**/*.tmpl"/>
</copy>
<zip basedir="${dist}/tmp" includes="**/*" zipfile="${dist}/${ant.project.name}-${version}-src.zip"/>
<delete dir="${dist}/tmp"/>
<!-- Binary package -->
<!-- binary package -->
<mkdir dir="${dist}/tmp"/>
<copy todir="${dist}/tmp">
<fileset dir="." includes="README,README.SSL,README.XA,README.SSO,CHANGELOG,LICENSE,conf/**/*.xml,conf/**/*.tmpl,html/**/*"/>
<fileset dir="${build}" includes="*.jar"/>
<fileset dir="${build}" includes="${ant.project.name}-${version}.jar"/>
</copy>
<mkdir dir="${dist}/tmp/x86/XA"/>
<copy todir="${dist}/tmp/x86/XA">
<fileset dir="lib/x86/XA" includes="JtdsXA.dll"/>
......@@ -136,4 +181,61 @@
<delete dir="${dist}/tmp"/>
</target>
<!-- Maven repository upload, disabled by default -->
<target name="maven_upload" depends="dist" description="deploy release version to Maven staging repository">
<input message="Please enter GPG passphrase:" addproperty="passphrase" />
<!-- define Maven coordinates -->
<property name="groupId" value="jtds.sourceforge.net" />
<property name="artifactId" value="jtds" />
<!-- define artifact names, following the Maven conventions -->
<property name="maven-jar" value="${build}/${artifactId}-${version}.jar" />
<property name="maven-javadoc-jar" value="${build}/${artifactId}-${version}-javadoc.jar" />
<property name="maven-sources-jar" value="${build}/${artifactId}-${version}-sources.jar" />
<!-- defined Maven staging repository ID and URL -->
<property name="maven-staging-repository-id" value="sonatype-nexus-staging" />
<property name="maven-staging-repository-url" value="https://oss.sonatype.org/service/local/staging/deploy/maven2/" />
<!-- sign and deploy the driver artifact -->
<artifact:mvn>
<arg value="org.apache.maven.plugins:maven-gpg-plugin:1.3:sign-and-deploy-file" />
<arg value="-Dgpg.passphrase=${passphrase}" />
<arg value="-Durl=${maven-staging-repository-url}" />
<arg value="-DrepositoryId=${maven-staging-repository-id}" />
<arg value="-DpomFile=pom.xml" />
<arg value="-Dfile=${maven-jar}" />
<arg value="-Pgpg" />
</artifact:mvn>
<!-- sign and deploy the sources artifact -->
<artifact:mvn>
<arg value="org.apache.maven.plugins:maven-gpg-plugin:1.3:sign-and-deploy-file" />
<arg value="-Dgpg.passphrase=${passphrase}" />
<arg value="-Durl=${maven-staging-repository-url}" />
<arg value="-DrepositoryId=${maven-staging-repository-id}" />
<arg value="-DpomFile=pom.xml" />
<arg value="-Dfile=${maven-sources-jar}" />
<arg value="-Dclassifier=sources" />
<arg value="-Pgpg" />
</artifact:mvn>
<!-- sign and deploy the javadoc artifact -->
<artifact:mvn>
<arg value="org.apache.maven.plugins:maven-gpg-plugin:1.3:sign-and-deploy-file" />
<arg value="-Dgpg.passphrase=${passphrase}" />
<arg value="-Durl=${maven-staging-repository-url}" />
<arg value="-DrepositoryId=${maven-staging-repository-id}" />
<arg value="-DpomFile=pom.xml" />
<arg value="-Dfile=${maven-javadoc-jar}" />
<arg value="-Dclassifier=javadoc" />
<arg value="-Pgpg" />
</artifact:mvn>
</target>
</project>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project basedir="." default="compile" name="jtds">
<path id="libs">
<fileset dir="lib" includes="*.jar"/>
</path>
<target name="init">
<tstamp/>
<property name="build" value="build"/>
<property name="build.compiler" value="modern"/>
<property name="javac.debug" value="on"/>
<property name="javac.optimize" value="on"/>
<property name="src" value="src"/>
<property name="dist" value="dist"/>
<property name="test" value="test"/>
<property name="version" value="1.2.5"/>
</target>
<target name="clean" depends="init">
<delete dir="${build}"/>
<delete dir="${dist}"/>
</target>
<target name="prepare" depends="init">
<mkdir dir="${build}"/>
<mkdir dir="${build}/classes"/>
<mkdir dir="${build}/src"/>
<copy todir="${build}/src">
<fileset dir="${src}/main" includes="**/*.java">
<exclude name="**/SocketFactories.java"/>
</fileset>
<filterchain>
<!-- only SUN SSL implementation available -->
<replaceregex byline="on" pattern="SocketFactories.getSocketFactory" replace="SocketFactoriesSUN.getSocketFactory"/>
<!-- cut off JDBC 4 stuff -->
<replaceregex byline="off" flags="s" pattern=" *//* JDBC4.*" replace="}"/>
</filterchain>
</copy>
<copy todir="${build}/src">
<fileset dir="${src}/test" includes="**/*.java">
<exclude name="**/GenKeyTest.java"/>
<exclude name="**/JDBC3Test.java"/>
<exclude name="**/LargeLOBTest.java"/>
<exclude name="**/LOBTest.java"/>
<exclude name="**/SavepointTest.java"/>
<exclude name="**/CallableStatementJDBC3Test.java"/>
<exclude name="**/DatabaseMetaDataJDBC3Test.java"/>
<exclude name="**/ConnectionJDBC3Test.java"/>
</fileset>
</copy>
<copy todir="${build}/classes">
<fileset dir="${src}/main" includes="**/*.properties"/>
</copy>
</target>
<target name="compile" depends="init,prepare">
<javac destdir="${build}/classes" srcdir="${build}/src" classpathref="libs" debug="${javac.debug}" optimize="${javac.optimize}" encoding="latin1"/>
</target>
<target name="javadoc" depends="prepare">
<mkdir dir="${build}/doc"/>
<javadoc sourcepath="${build}/src" destdir="${build}/doc" packagenames="net.sourceforge.jtds.*" Author="true"
Doctitle="jTDS API Documentation" Use="true" Version="true" bottom="Generated on ${TODAY}"
Windowtitle="jTDS API" Private="true" classpathref="libs" encoding="latin1">
<tag name="todo" description="To do:"/>
<tag name="created" description="Created:"/>
</javadoc>
</target>
<target name="test" depends="compile">
<taskdef name="junit" classname="org.apache.tools.ant.taskdefs.optional.junit.JUnitTask"/>
<junit fork="no" haltonfailure="no" printsummary="yes">
<classpath>
<pathelement location="build/classes"/>
<path refid="libs"/>
</classpath>
<formatter type="plain"/>
<batchtest>
<fileset dir="${build}/src">
<include name="**/*Test.java"/>
<exclude name="**/AllTests.java"/>
</fileset>
</batchtest>
</junit>
</target>
<target name="dist" depends="clean,compile,javadoc">
<mkdir dir="${dist}"/>
<!-- Runtime jar -->
<jar basedir="${build}/classes"
excludes="net/sourceforge/jtds/test/*.class"
includes="**/*"
jarfile="${build}/${ant.project.name}-${version}.jar">
<manifest>
<attribute name="Implementation-Title" value="jTDS JDBC Driver"/>
<attribute name="Implementation-Version" value="${version}"/>
<attribute name="Implementation-URL" value="http://jtds.sourceforge.net"/>
<attribute name="Specification-Title" value="JDBC"/>
<attribute name="Specification-Version" value="3.0"/>
<attribute name="Class-Path" value="jcifs.jar"/>
<attribute name="Main-Class" value="net.sourceforge.jtds.jdbc.Driver"/>
</manifest>
</jar>
<!-- Source package -->
<copy todir="${dist}/tmp/doc">
<fileset dir="${build}/doc" includes="**/*"/>
</copy>
<mkdir dir="${dist}/tmp"/>
<copy todir="${dist}/tmp">
<fileset dir="." includes="README,README.SSL,README.XA,README.SSO,CHANGELOG,LICENSE,*.bat,*.sh,*.xml,src/**/*,lib/**/*,html/**/*,conf/**/*.xml,conf/**/*.tmpl"/>
</copy>
<zip basedir="${dist}/tmp" includes="**/*" zipfile="${dist}/${ant.project.name}-${version}-src.zip"/>
<delete dir="${dist}/tmp"/>
<!-- Binary package -->
<mkdir dir="${dist}/tmp"/>
<copy todir="${dist}/tmp">
<fileset dir="." includes="README,README.SSL,README.XA,README.SSO,CHANGELOG,LICENSE,conf/**/*.xml,conf/**/*.tmpl,html/**/*"/>
<fileset dir="${build}" includes="*.jar"/>
</copy>
<mkdir dir="${dist}/tmp/x86/XA"/>
<copy todir="${dist}/tmp/x86/XA">
<fileset dir="lib/x86/XA" includes="JtdsXA.dll"/>
<fileset dir="src/XA" includes="*.sql"/>
</copy>
<mkdir dir="${dist}/tmp/x86/SSO"/>
<copy todir="${dist}/tmp/x86/SSO">
<fileset dir="lib/x86/SSO" includes="ntlmauth.dll"/>
</copy>
<mkdir dir="${dist}/tmp/x64/SSO"/>
<copy todir="${dist}/tmp/x64/SSO">
<fileset dir="lib/x64/SSO" includes="ntlmauth.dll"/>
</copy>
<mkdir dir="${dist}/tmp/IA64/SSO"/>
<copy todir="${dist}/tmp/IA64/SSO">
<fileset dir="lib/IA64/SSO" includes="ntlmauth.dll"/>
</copy>
<zip basedir="${dist}/tmp" includes="**/*" zipfile="${dist}/${ant.project.name}-${version}-dist.zip"/>
<delete dir="${dist}/tmp"/>
</target>
</project>
<?xml version="1.0" encoding="UTF-8"?>
<project basedir="." default="compile" name="jtds">
<path id="libs">
<fileset dir="lib" includes="*.jar"/>
</path>
<target name="init">
<tstamp/>
<property name="build" value="build"/>
<property name="build.compiler" value="modern"/>
<property name="javac.debug" value="on"/>
<property name="javac.optimize" value="on"/>
<property name="src" value="src"/>
<property name="dist" value="dist"/>
<property name="test" value="test"/>
<property name="version" value="1.2.5"/>
</target>
<target name="clean" depends="init">
<delete dir="${build}"/>
<delete dir="${dist}"/>
</target>
<target name="prepare" depends="init">
<mkdir dir="${build}"/>
<mkdir dir="${build}/classes"/>
<mkdir dir="${build}/src"/>
<copy todir="${build}/src">
<fileset dir="${src}/main" includes="**/*.java"/>
<filterchain>
<!-- cut off JDBC 4 stuff -->
<replaceregex byline="off" flags="s" pattern=" *//* JDBC4.*" replace="}"/>
</filterchain>
</copy>
<copy todir="${build}/src">
<fileset dir="${src}/test" includes="**/*.java"/>
</copy>
<copy todir="${build}/classes">
<fileset dir="${src}/main" includes="**/*.properties"/>
</copy>
</target>
<target name="compile" depends="init,prepare">
<javac destdir="${build}/classes" srcdir="${build}/src" classpathref="libs" debug="${javac.debug}" optimize="${javac.optimize}" source="1.3" target="1.3" encoding="latin1"/>
</target>
<target name="javadoc" depends="prepare">
<mkdir dir="${build}/doc"/>
<javadoc sourcepath="${build}/src" destdir="${build}/doc" packagenames="net.sourceforge.jtds.*" Author="true"
Doctitle="jTDS API Documentation" Use="true" Version="true" bottom="Generated on ${TODAY}"
Windowtitle="jTDS API" Private="true" classpathref="libs" encoding="latin1">
<tag name="todo" description="To do:"/>
<tag name="created" description="Created:"/>
</javadoc>
</target>
<target name="test" depends="compile">
<taskdef name="junit" classname="org.apache.tools.ant.taskdefs.optional.junit.JUnitTask"/>
<junit fork="no" haltonfailure="no" printsummary="yes">
<classpath>
<pathelement location="build/classes"/>
<path refid="libs"/>
</classpath>
<formatter type="plain"/>
<batchtest>
<fileset dir="${build}/src">
<include name="**/*Test.java"/>
<exclude name="**/AllTests.java"/>
</fileset>
</batchtest>
</junit>
</target>
<target name="dist" depends="clean,compile,javadoc">
<mkdir dir="${dist}"/>
<!-- Runtime jar -->
<jar basedir="${build}/classes"
excludes="net/sourceforge/jtds/test/*.class"
includes="**/*"
jarfile="${build}/${ant.project.name}-${version}.jar">
<manifest>
<attribute name="Implementation-Title" value="jTDS JDBC Driver"/>
<attribute name="Implementation-Version" value="${version}"/>
<attribute name="Implementation-URL" value="http://jtds.sourceforge.net"/>
<attribute name="Specification-Title" value="JDBC"/>
<attribute name="Specification-Version" value="3.0"/>
<attribute name="Class-Path" value="jcifs.jar"/>
<attribute name="Main-Class" value="net.sourceforge.jtds.jdbc.Driver"/>
</manifest>
</jar>
<!-- Source package -->
<copy todir="${dist}/tmp/doc">
<fileset dir="${build}/doc" includes="**/*"/>
</copy>
<mkdir dir="${dist}/tmp"/>
<copy todir="${dist}/tmp">
<fileset dir="." includes="README,README.SSL,README.XA,README.SSO,CHANGELOG,LICENSE,*.bat,*.sh,*.xml,src/**/*,lib/**/*,html/**/*,conf/**/*.xml,conf/**/*.tmpl"/>
</copy>
<zip basedir="${dist}/tmp" includes="**/*" zipfile="${dist}/${ant.project.name}-${version}-src.zip"/>
<delete dir="${dist}/tmp"/>
<!-- Binary package -->
<mkdir dir="${dist}/tmp"/>
<copy todir="${dist}/tmp">
<fileset dir="." includes="README,README.SSL,README.XA,README.SSO,CHANGELOG,LICENSE,conf/**/*.xml,conf/**/*.tmpl,html/**/*"/>
<fileset dir="${build}" includes="*.jar"/>
</copy>
<mkdir dir="${dist}/tmp/x86/XA"/>
<copy todir="${dist}/tmp/x86/XA">
<fileset dir="lib/x86/XA" includes="JtdsXA.dll"/>
<fileset dir="src/XA" includes="*.sql"/>
</copy>
<mkdir dir="${dist}/tmp/x86/SSO"/>
<copy todir="${dist}/tmp/x86/SSO">
<fileset dir="lib/x86/SSO" includes="ntlmauth.dll"/>
</copy>
<mkdir dir="${dist}/tmp/x64/SSO"/>
<copy todir="${dist}/tmp/x64/SSO">
<fileset dir="lib/x64/SSO" includes="ntlmauth.dll"/>
</copy>
<mkdir dir="${dist}/tmp/IA64/SSO"/>
<copy todir="${dist}/tmp/IA64/SSO">
<fileset dir="lib/IA64/SSO" includes="ntlmauth.dll"/>
</copy>
<zip basedir="${dist}/tmp" includes="**/*" zipfile="${dist}/${ant.project.name}-${version}-dist.zip"/>
<delete dir="${dist}/tmp"/>
</target>
</project>
<?xml version="1.0" encoding="UTF-8"?>
<project basedir="." default="compile" name="jtds">
<path id="libs">
<fileset dir="lib" includes="*.jar"/>
</path>
<target name="init">
<tstamp/>
<property name="build" value="build"/>
<property name="compiler" value="/jdk1.4/bin/javac"/>
<property name="build.compiler" value="modern"/>
<property name="javac.debug" value="on"/>
<property name="javac.optimize" value="on"/>
<property name="src" value="src"/>
<property name="dist" value="dist"/>
<property name="test" value="test"/>
<property name="version" value="1.2.5"/>
</target>
<target name="clean" depends="init">
<delete dir="${build}"/>
<delete dir="${dist}"/>
</target>
<target name="prepare" depends="init">
<mkdir dir="${build}"/>
<mkdir dir="${build}/classes"/>
<mkdir dir="${build}/src"/>
<copy todir="${build}/src">
<fileset dir="${src}/main" includes="**/*.java">
<exclude name="**/SocketFactories.java"/>
</fileset>
<filterchain>
<!-- only SUN SSL implementation available -->
<replaceregex byline="on" pattern="SocketFactories.getSocketFactory" replace="SocketFactoriesSUN.getSocketFactory"/>
<!-- cut off JDBC 4 stuff -->
<replaceregex byline="off" flags="s" pattern=" *//* JDBC4.*" replace="}"/>
</filterchain>
</copy>
<copy todir="${build}/src">
<fileset dir="${src}/test" includes="**/*.java">
<exclude name="**/GenKeyTest.java"/>
<exclude name="**/JDBC3Test.java"/>
<exclude name="**/LargeLOBTest.java"/>
<exclude name="**/LOBTest.java"/>
<exclude name="**/SavepointTest.java"/>
<exclude name="**/CallableStatementJDBC3Test.java"/>
<exclude name="**/DatabaseMetaDataJDBC3Test.java"/>
<exclude name="**/ConnectionJDBC3Test.java"/>
</fileset>
</copy>
<copy todir="${build}/classes">
<fileset dir="${src}/main" includes="**/*.properties"/>
</copy>
</target>
<target name="compile" depends="init,prepare">
<javac fork="on" executable="${compiler}" includeantruntime="no" includejavaruntime="no" destdir="${build}/classes" srcdir="${build}/src" classpathref="libs" debug="${javac.debug}" optimize="${javac.optimize}" source="1.3" target="1.3" encoding="latin1"/>
</target>
<target name="javadoc" depends="prepare">
<mkdir dir="${build}/doc"/>
<javadoc sourcepath="${build}/src" destdir="${build}/doc" packagenames="net.sourceforge.jtds.*" Author="true"
Doctitle="jTDS API Documentation" Use="true" Version="true" bottom="Generated on ${TODAY}"
Windowtitle="jTDS API" Private="true" classpathref="libs" encoding="latin1">
<tag name="todo" description="To do:"/>
<tag name="created" description="Created:"/>
</javadoc>
</target>
<target name="test" depends="compile">
<taskdef name="junit" classname="org.apache.tools.ant.taskdefs.optional.junit.JUnitTask"/>
<junit fork="no" haltonfailure="no" printsummary="yes">
<classpath>
<pathelement location="build/classes"/>
<path refid="libs"/>
</classpath>
<formatter type="plain"/>
<batchtest>
<fileset dir="${build}/src">
<include name="**/*Test.java"/>
<exclude name="**/AllTests.java"/>
</fileset>
</batchtest>
</junit>
</target>
<target name="dist" depends="clean,compile,javadoc">
<mkdir dir="${dist}"/>
<!-- Runtime jar -->
<jar basedir="${build}/classes"
excludes="net/sourceforge/jtds/test/*.class"
includes="**/*"
jarfile="${build}/${ant.project.name}-${version}.jar">
<manifest>
<attribute name="Implementation-Title" value="jTDS JDBC Driver"/>
<attribute name="Implementation-Version" value="${version}"/>
<attribute name="Implementation-URL" value="http://jtds.sourceforge.net"/>
<attribute name="Specification-Title" value="JDBC"/>
<attribute name="Specification-Version" value="3.0"/>
<attribute name="Class-Path" value="jcifs.jar"/>
<attribute name="Main-Class" value="net.sourceforge.jtds.jdbc.Driver"/>
</manifest>
</jar>
<!-- Source package -->
<copy todir="${dist}/tmp/doc">
<fileset dir="${build}/doc" includes="**/*"/>
</copy>
<mkdir dir="${dist}/tmp"/>
<copy todir="${dist}/tmp">
<fileset dir="." includes="README,README.SSL,README.XA,README.SSO,CHANGELOG,LICENSE,*.bat,*.sh,*.xml,src/**/*,lib/**/*,html/**/*,conf/**/*.xml,conf/**/*.tmpl"/>
</copy>
<zip basedir="${dist}/tmp" includes="**/*" zipfile="${dist}/${ant.project.name}-${version}-src.zip"/>
<delete dir="${dist}/tmp"/>
<!-- Binary package -->
<mkdir dir="${dist}/tmp"/>
<copy todir="${dist}/tmp">
<fileset dir="." includes="README,README.SSL,README.XA,README.SSO,CHANGELOG,LICENSE,conf/**/*.xml,conf/**/*.tmpl,html/**/*"/>
<fileset dir="${build}" includes="*.jar"/>
</copy>
<mkdir dir="${dist}/tmp/x86/XA"/>
<copy todir="${dist}/tmp/x86/XA">
<fileset dir="lib/x86/XA" includes="JtdsXA.dll"/>
<fileset dir="src/XA" includes="*.sql"/>
</copy>
<mkdir dir="${dist}/tmp/x86/SSO"/>
<copy todir="${dist}/tmp/x86/SSO">
<fileset dir="lib/x86/SSO" includes="ntlmauth.dll"/>
</copy>
<mkdir dir="${dist}/tmp/x64/SSO"/>
<copy todir="${dist}/tmp/x64/SSO">
<fileset dir="lib/x64/SSO" includes="ntlmauth.dll"/>
</copy>
<mkdir dir="${dist}/tmp/IA64/SSO"/>
<copy todir="${dist}/tmp/IA64/SSO">
<fileset dir="lib/IA64/SSO" includes="ntlmauth.dll"/>
</copy>
<zip basedir="${dist}/tmp" includes="**/*" zipfile="${dist}/${ant.project.name}-${version}-dist.zip"/>
<delete dir="${dist}/tmp"/>
</target>
</project>
libjtds-java (1.3.1+dfsg-1) unstable; urgency=medium
* Team upload.
* Set Vcs- fields in debian/control for Salsa repo
* Update debian/watch and debian/copyright to replace debian/repack.sh
* New upstream version 1.3.1+dfsg
* Drop unneeded patches
* Bump Standards-Version to 4.4.0
* Freshen years in debian/copyright
* Use debhelper 12
-- tony mancill <tmancill@debian.org> Wed, 04 Sep 2019 16:31:16 -0700
libjtds-java (1.2.5+dfsg-4) unstable; urgency=medium
* Team upload.
......
......@@ -6,12 +6,12 @@ Uploaders:
Martín Ferrari <tincho@debian.org>
Build-Depends:
ant,
debhelper (>= 11),
debhelper (>= 12),
default-jdk,
javahelper,
libjcifs-java,
maven-repo-helper
Standards-Version: 4.1.2
Standards-Version: 4.4.0
Vcs-Git: https://salsa.debian.org/java-team/libjtds-java.git
Vcs-Browser: https://salsa.debian.org/java-team/libjtds-java
Homepage: http://jtds.sourceforge.net
......
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: jTDS
Source: http://jtds.sourceforge.net
Files-Excluded:
lib/*
src/SSO/*
src/XA/*
src/test/net/sourceforge/jtds/jdbc/AsTest.java
src/test/net/sourceforge/jtds/jdbc/CSUnitTest.java
src/test/net/sourceforge/jtds/jdbc/DatabaseTestCase.java
src/test/net/sourceforge/jtds/jdbc/JDBC3Test.java
src/test/net/sourceforge/jtds/jdbc/NtlmAuthTest.java
src/test/net/sourceforge/jtds/jdbc/SAfeTest.java
src/test/net/sourceforge/jtds/jdbc/SanityTest.java
src/test/net/sourceforge/jtds/jdbc/Tds5Test.java
src/test/net/sourceforge/jtds/jdbc/TestBase.java
src/test/net/sourceforge/jtds/jdbc/TimestampTest.java
src/test/net/sourceforge/jtds/jdbc/UpdateTest.java
src/tools/net/sourceforge/jtds/tools/PacketLogger.java
src/tools/net/sourceforge/jtds/tools/SQLProxy.java
src/tools/net/sourceforge/jtds/tools/SqlForwarder.java
Files: *
Copyright: 2004, The jTDS Project
Copyright: 2004-2013, The jTDS Project
License: LGPL-2.1+
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
......@@ -15,6 +33,7 @@ License: LGPL-2.1+
Files: debian/*
Copyright: 2007-2013, Martín Ferrari <tincho@debian.org>
2019, tony mancill <tmancill@debian.org>
License: GPL-2
On Debian GNU/Linux systems, the complete text of the GNU General Public
License can be found in `/usr/share/common-licenses/GPL-2'
......
Description: Adds dummy JDBC 4.1 methods to compile with Java 7.
This patch can be removed after upgrading to jTDS 1.3
Author: Shuxiong Ye <yeshuxiong@gmail.com>.
Forwarded: not-needed
--- a/src/main/net/sourceforge/jtds/jdbc/ConnectionJDBC2.java
+++ b/src/main/net/sourceforge/jtds/jdbc/ConnectionJDBC2.java
@@ -29,6 +29,7 @@
import java.util.Properties;
import java.util.HashSet;
import java.util.Random;
+import java.util.concurrent.Executor;
import net.sourceforge.jtds.jdbc.cache.*;
import net.sourceforge.jtds.util.*;
@@ -2614,4 +2615,26 @@
throw new AbstractMethodError();
}
-}
\ No newline at end of file
+ public void setSchema(String schema) throws SQLException {
+ throw new SQLException();
+ }
+
+ public String getSchema() throws SQLException {
+ throw new SQLException();
+ }
+
+ public void abort(Executor executor) throws SQLException {
+ throw new SQLException();
+ }
+
+ public void setNetworkTimeout(Executor executor, int milliseconds)
+ throws SQLException {
+ throw new SQLException();
+ }
+
+ public int getNetworkTimeout() throws SQLException {
+ throw new SQLException();
+ }
+
+}
+
--- a/src/main/net/sourceforge/jtds/jdbc/Driver.java
+++ b/src/main/net/sourceforge/jtds/jdbc/Driver.java
@@ -21,11 +21,13 @@
import java.sql.DriverManager;
import java.sql.DriverPropertyInfo;
import java.sql.SQLException;
+import java.sql.SQLFeatureNotSupportedException;
import java.util.Enumeration;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;
import java.util.Properties;
+import java.util.logging.Logger;
import net.sourceforge.jtds.ssl.Ssl;
@@ -463,4 +465,9 @@
public static void main(String[] args) {
System.out.println("jTDS " + getVersion());
}
+
+ public Logger getParentLogger() throws SQLFeatureNotSupportedException {
+ throw new SQLFeatureNotSupportedException();
+ }
}
+
--- a/src/main/net/sourceforge/jtds/jdbc/JtdsCallableStatement.java
+++ b/src/main/net/sourceforge/jtds/jdbc/JtdsCallableStatement.java
@@ -1075,4 +1075,15 @@
throw new AbstractMethodError();
}
-}
\ No newline at end of file
+ public <T> T getObject(int parameterIndex, Class<T> type)
+ throws SQLException {
+ throw new SQLException();
+ }
+
+ public <T> T getObject(String parameterName, Class<T> type)
+ throws SQLException {
+ throw new SQLException();
+ }
+
+}
+
--- a/src/main/net/sourceforge/jtds/jdbc/JtdsDatabaseMetaData.java
+++ b/src/main/net/sourceforge/jtds/jdbc/JtdsDatabaseMetaData.java
@@ -783,7 +783,7 @@
* @throws SQLException if a database-access error occurs.
*/
public String getExtraNameCharacters() throws SQLException {
- // MS driver returns "$#@" Sybase JConnect returns "@#$"
+ // MS driver returns "$#@" Sybase JConnect returns "@#$��"
return "$#@";
}
@@ -3606,4 +3606,15 @@
throw new AbstractMethodError();
}
-}
\ No newline at end of file
+ public ResultSet getPseudoColumns(String catalog, String schemaPattern,
+ String tableNamePattern, String columnNamePattern)
+ throws SQLException {
+ throw new SQLException();
+ }
+
+ public boolean generatedKeyAlwaysReturned() throws SQLException {
+ throw new SQLException();
+ }
+
+}
+
--- a/src/main/net/sourceforge/jtds/jdbc/JtdsResultSet.java
+++ b/src/main/net/sourceforge/jtds/jdbc/JtdsResultSet.java
@@ -1766,4 +1766,14 @@
throw new AbstractMethodError();
}
-}
\ No newline at end of file
+ public <T> T getObject(int columnIndex, Class<T> type) throws SQLException {
+ throw new SQLException();
+ }
+
+ public <T> T getObject(String columnLabel, Class<T> type)
+ throws SQLException {
+ throw new SQLException();
+ }
+
+}
+
--- a/src/main/net/sourceforge/jtds/jdbc/JtdsStatement.java
+++ b/src/main/net/sourceforge/jtds/jdbc/JtdsStatement.java
@@ -1346,4 +1346,13 @@
throw new AbstractMethodError();
}
-}
\ No newline at end of file
+ public void closeOnCompletion() throws SQLException {
+ throw new SQLException();
+ }
+
+ public boolean isCloseOnCompletion() throws SQLException {
+ throw new SQLException();
+ }
+
+}
+
--- a/src/main/net/sourceforge/jtds/jdbcx/JtdsDataSource.java
+++ b/src/main/net/sourceforge/jtds/jdbcx/JtdsDataSource.java
@@ -20,6 +20,7 @@
import java.io.*;
import java.sql.Connection;
import java.sql.SQLException;
+import java.sql.SQLFeatureNotSupportedException;
import java.util.Properties;
import javax.naming.NamingException;
import javax.naming.Reference;
@@ -780,4 +781,9 @@
throw new AbstractMethodError();
}
-}
\ No newline at end of file
+ public java.util.logging.Logger getParentLogger()
+ throws SQLFeatureNotSupportedException {
+ throw new SQLFeatureNotSupportedException();
+ }
+}
+
--- a/src/main/net/sourceforge/jtds/jdbcx/proxy/CallableStatementProxy.java
+++ b/src/main/net/sourceforge/jtds/jdbcx/proxy/CallableStatementProxy.java
@@ -22,6 +22,7 @@
import java.math.BigDecimal;
import java.sql.*;
import java.util.Calendar;
+import java.util.Map;
import net.sourceforge.jtds.jdbc.*;
@@ -1955,4 +1956,15 @@
throw new AbstractMethodError();
}
-}
\ No newline at end of file
+ public <T> T getObject(int parameterIndex, Class<T> type)
+ throws SQLException {
+ throw new SQLException();
+ }
+
+ public <T> T getObject(String parameterName, Class<T> type)
+ throws SQLException {
+ throw new SQLException();
+ }
+
+}
+
--- a/src/main/net/sourceforge/jtds/jdbcx/proxy/ConnectionProxy.java
+++ b/src/main/net/sourceforge/jtds/jdbcx/proxy/ConnectionProxy.java
@@ -20,6 +20,7 @@
import java.sql.*;
import java.util.Map;
import java.util.Properties;
+import java.util.concurrent.Executor;
import net.sourceforge.jtds.jdbc.*;
import net.sourceforge.jtds.jdbcx.*;
@@ -804,4 +805,26 @@
throw new AbstractMethodError();
}
-}
\ No newline at end of file
+ public void setSchema(String schema) throws SQLException {
+ throw new SQLException();
+ }
+
+ public String getSchema() throws SQLException {
+ throw new SQLException();
+ }
+
+ public void abort(Executor executor) throws SQLException {
+ throw new SQLException();
+ }
+
+ public void setNetworkTimeout(Executor executor, int milliseconds)
+ throws SQLException {
+ throw new SQLException();
+ }
+
+ public int getNetworkTimeout() throws SQLException {
+ throw new SQLException();
+ }
+
+}
+
--- a/src/main/net/sourceforge/jtds/jdbcx/proxy/StatementProxy.java
+++ b/src/main/net/sourceforge/jtds/jdbcx/proxy/StatementProxy.java
@@ -740,4 +740,13 @@
throw new AbstractMethodError();
}
-}
\ No newline at end of file
+ public void closeOnCompletion() throws SQLException {
+ throw new SQLException();
+ }
+
+ public boolean isCloseOnCompletion() throws SQLException {
+ throw new SQLException();
+ }
+
+}
+