debian/0000775000000000000000000000000012260630403007164 5ustar debian/changelog0000664000000000000000000001751612260630373011056 0ustar mysql-connector-java (5.1.28-1) unstable; urgency=medium * New upstream release * Refreshed the patches -- Emmanuel Bourg Tue, 31 Dec 2013 22:02:44 +0100 mysql-connector-java (5.1.27-1) unstable; urgency=low * New upstream release * Refreshed the patches * Updated Standards-Version to 3.9.5 (no changes) * Use XZ compression for the upstream tarball * Switch to debhelper level 9 -- Emmanuel Bourg Wed, 06 Nov 2013 23:49:02 +0100 mysql-connector-java (5.1.26-1) unstable; urgency=low * New upstream release * Refreshed the patches * Generate Java 6 compatible bytecode -- Emmanuel Bourg Fri, 09 Aug 2013 14:47:12 +0200 mysql-connector-java (5.1.25-1) unstable; urgency=low * New upstream release * Refreshed the patches * Added a patch to build with one JDK and removed the build dependency on java-gcj-compat-dev * Updated Standards-Version to 3.9.4 (no changes) * Use canonical URLs for the Vcs-* fields * debian/rules: Improved the clean target to allow rebuilds * Updated the watch file * Renamed debian/README.Debian-source to README.source [ Miguel Landaeta ] * Fix FTBFS with OpenJDK 7 (Closes: #706668) * Remove Michael Koch from Uploaders list. Thanks for your work on this package. (Closes: #654122). -- Emmanuel Bourg Tue, 02 Jul 2013 17:07:51 +0200 mysql-connector-java (5.1.16-2) unstable; urgency=low * Team upload. * Switch to default-jdk (Closes: #640619) -- Torsten Werner Tue, 06 Sep 2011 21:28:09 +0200 mysql-connector-java (5.1.16-1) unstable; urgency=low * Team upload. [ Miguel Telleria de Esteban ] * Add mh_installpoms to give maven support for other packages using mysql-java. (Closes: #627746) [ Torsten Werner ] * New upstream release. Switch from commons logging to slf4j. * Clean up orig tarball even more. Remove c3p0*.zip and documentation without source format. * Add target get-orig-source to debian/rules. * Remove Arnaud from Uploaders list. * Remove Java runtime from Depends. * Switch to source format 3.0. * Switch to debhelper level 7. * Update Standards-Version: 3.9.1. -- Torsten Werner Thu, 25 Aug 2011 11:09:59 +0200 mysql-connector-java (5.1.10+dfsg-2) unstable; urgency=low * Fix installation of versioned jar (Closes: #549677). -- Michael Koch Mon, 05 Oct 2009 20:18:40 +0200 mysql-connector-java (5.1.10+dfsg-1) unstable; urgency=low * New upstream release. * Build-Depends on cdbs. * Made java-gcj-compat-dev a Build-Depends instead of a Build-Depends-Indep. * Build-Depends-Indep on openjdk-6-jdk for JDBC 4. * Build-Depends on debhelper >= 7. * Moved package to section 'java'. * Let package Depends on default-jre-headless and alternatives. * Add Depends ${misc:Depends} to libmysql-java. * Fixed watch file to use a decent FTP mirror. * Added automatic orig tarball creation on upstream updates. * Updated Standards-Version to 3.8.3. * In debian/rules always use JAVA_HOME when possible. -- Michael Koch Sat, 26 Sep 2009 11:22:43 +0200 mysql-connector-java (5.1.6+dfsg-1) unstable; urgency=low * New upstream release. Thanks to Eric Jensen for the hint. * Added watch file. * Updated Standards-Version to 3.7.3. * Fixed Homepage, Vcs-Svn and Vcs-Browser fields. -- Michael Koch Wed, 02 Apr 2008 10:36:05 +0200 mysql-connector-java (5.1.5+dfsg-2) unstable; urgency=low * Disable JDBC4 support. Closes: #454081. -- Michael Koch Tue, 04 Dec 2007 01:03:48 +0100 mysql-connector-java (5.1.5+dfsg-1) unstable; urgency=low * New upstream release. Closes: #450718. * Add Homepage field to debian/control. -- Michael Koch Fri, 30 Nov 2007 10:34:13 +0100 mysql-connector-java (5.0.4+dfsg-3) unstable; urgency=low * Delete build-stamp in clean target. Closes: #424589. * Removed Wolfgang and added myself to Uploaders. -- Michael Koch Sun, 15 Jul 2007 23:12:02 +0200 mysql-connector-java (5.0.4+dfsg-2) unstable; urgency=low * Corrected the symlink `/usr/share/java/mysql.jar'. Thanks to Javier Kohen. (Closes: #404858) -- Marcus Better Fri, 29 Dec 2006 13:29:04 +0100 mysql-connector-java (5.0.4+dfsg-1) unstable; urgency=low * New upstream release. (Closes: #404153, #366808, #394878) - Supports MySQL 5. (Closes: #369379) - Fixes a character set mapping problem. (Closes: #387382) * debian/rules: Get rid of cdbs. Install `CHANGES' file in proper place. * The jar file is now named `mysql-connector-java.jar' instead of `mysql.jar'. Symlinks are provided for the old names for the time being. * debian/control: - Replace Build-Depends-Indep by Build-Depends. - Add missing dependency on ant-optional. - Add XS-Vcs-* fields. * debian/rules: Build with java-gcj-compat-dev instead of Kaffe. * Removed README.Debian since the information on supported JDK versions may be outdated. -- Marcus Better Fri, 22 Dec 2006 10:45:42 +0100 mysql-connector-java (3.1.11-1) unstable; urgency=low * New upstream release (closes: #338399) * Removed Takashi from uploaders * Removed setting of DEB_ANT_COMPILER variable as already preset in kaffe * Updated build.xml patch once more to changed upstream build behaviour -- Wolfgang Baer Tue, 29 Nov 2005 14:07:49 +0100 mysql-connector-java (3.1.10-1) unstable; urgency=low * New upstream release + Source structure changed - adapting package build to new structure + Updated README.Debian-source how its repackaged * libant1.6-java to ant transition * Standards-Version 3.6.2 (no changes) * Removed documentation as its explicitly marked as NOT GNU licensed. * Upload sponsored by Arnaud Vandyck -- Wolfgang Baer Sun, 11 Sep 2005 15:35:23 +0200 mysql-connector-java (3.1.7-2) unstable; urgency=low * Move to main -- Wolfgang Baer Tue, 19 Apr 2005 20:28:25 +0200 mysql-connector-java (3.1.7-1) unstable; urgency=low * New upstream release (closes: #282570,#293995) * Now implements JDBC 3 specification - Updated README.Debian/Descriptions * Built with free tools - but stay in contrib to get it into sarge asap (old release does not support mysql 4.1 features) Upload to main will follow afterwards * Changed build system to cdbs: build depends now on kaffe, libant1.6-java, liblog4j1.2-java, junit; Added liblog4j1.2-java as Suggests * No more build depends on jars under /usr/local (closes: #262291) * Patched build.xml (01_BuildXml.patch): - Changed build directory property to a directory inside source tree - Excluded test from testsuite which build depends on sun internal stuff (AppletRegressionTest.java) - Patched javac target to use target=1.3 so it is also usable with JDK 1.3, -Xverify:none needs to be passed to the vm (see README.Debian) * Standards-Version: 3.6.1 - no changes required * Changed maintainer to Debian Java Maintainers as requested by Takashi Okamoto for comaintaining * avdyk: added Wolfgang and myself to the uploaders -- Wolfgang Baer Sat, 02 Apr 2005 20:30:09 +0200 mysql-connector-java (3.0.9-1) unstable; urgency=low * New upstream release -- Takashi Okamoto Tue, 30 Dec 2003 22:37:53 +0900 mysql-connector-java (3.0.8-1) unstable; urgency=low * New upstream release -- Takashi Okamoto Mon, 26 May 2003 10:42:20 +0900 mysql-connector-java (3.0.6-1) unstable; urgency=low * New upstream release -- Takashi Okamoto Sun, 23 Feb 2003 21:38:54 +0900 mysql-connector-java (2.0.14-1) unstable; urgency=low * Initial Release. * close RFP (closes: #104765) -- Takashi Okamoto Sun, 10 Nov 2002 10:29:30 +0900 debian/libmysql-java.poms0000664000000000000000000000034212201150133012626 0ustar # List of POM files for the package # Format of this file is: # [option] # where option can be: # --ignore: ignore this POM or # --no-parent: remove the tag from the POM src/doc/sources/pom.xml debian/README.source0000664000000000000000000000060412201150133011333 0ustar MySQL Connector/J for Debian ---------------------------- The upstream sources were modified to comply with the Debian Free Software Guidelines. The following changes were made: * The third-party jars in `src/lib' were removed. * The two pre-compiled JDBC driver jars (debug and release version) were removed. -- Marcus Better Fri, 22 Dec 2006 10:45:42 +0100 debian/source/0000775000000000000000000000000012201150133010454 5ustar debian/source/format0000664000000000000000000000001412201150133011662 0ustar 3.0 (quilt) debian/copyright0000664000000000000000000000277012201150133011115 0ustar This package was debianized by Takashi Okamoto on Sat, 2 Nov 2002 22:04:45 +0900. It is currently maintained by the Debian Java Maintainers . It was downloaded from . Upstream Author: Mark Matthews Copyright (C) 2002-2005 MySQL AB. This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation. There are special exceptions to the terms and conditions of the GPL as it is applied to this software. View the full text of the exception in file EXCEPTIONS-CONNECTOR-J in this directory. This program 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 General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. On Debian systems, the complete text of the GNU General Public License version 2 can be found in `/usr/share/common-licenses/GPL-2'. The contributions to the Debian packaging by Marcus Better are Copyright (C) 2006 Marcus Better , and are licensed under the GNU General Public License version 2. debian/watch0000664000000000000000000000017712201150133010212 0ustar version=3 http://ftp.gwdg.de/pub/misc/mysql/Downloads/Connector-J/mysql-connector-java-(.*)\.tar\.gz debian debian/orig-tar.sh debian/orig-tar.sh0000775000000000000000000000071012236544011011247 0ustar #!/bin/sh -e # called by uscan with '--upstream-version' VERSION=$2 DIR=mysql-connector-java-$VERSION.orig # clean up the upstream tarball tar zxf $3 rm $3 mv mysql-connector-java-$VERSION $DIR XZ_OPT=--best tar cJf ../mysql-connector-java_$VERSION.orig.tar.xz -X debian/orig-tar.exclude $DIR rm -rf $DIR # move to directory 'tarballs' if [ -r .svn/deb-layout ]; then . .svn/deb-layout mv $3 $origDir echo "moved $3 to $origDir" fi debian/rules0000775000000000000000000000200512201162236010240 0ustar #!/usr/bin/make -f include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/class/ant.mk VERSION := $(shell dpkg-parsechangelog | grep ^Version: | sed 's/Version: //' | cut -f1 -d- | cut -f1 -d+) JAVA_HOME := /usr/lib/jvm/default-java DEB_JARS := ant ant-launcher ant-junit junit ant-contrib slf4j-api DEB_ANT_ARGS := -Dcom.mysql.jdbc.java6.javac=$(JAVA_HOME)/bin/javac \ -Dcom.mysql.jdbc.java6.rtjar=$(JAVA_HOME)/jre/lib/rt.jar \ -Dsnapshot.version= \ -Dant.build.javac.source=1.6 \ -Dant.build.javac.target=1.6 binary-post-install/libmysql-java:: mh_installpoms -plibmysql-java -e$(VERSION) mh_installjar -plibmysql-java -e$(VERSION) -l src/doc/sources/pom.xml build/mysql-connector-java-$(VERSION)/mysql-connector-java-$(VERSION)-bin.jar # compat link? dh_link -plibmysql-java usr/share/java/mysql-connector-java.jar usr/share/java/mysql.jar clean:: rm -rf dist rm -f build-stamp mh_clean get-orig-source: uscan --download-version $(DEB_UPSTREAM_VERSION) --force-download --rename debian/compat0000664000000000000000000000000212236543631010373 0ustar 9 debian/control0000664000000000000000000000172412236543623010605 0ustar Source: mysql-connector-java Section: java Priority: optional Maintainer: Debian Java Maintainers Uploaders: Marcus Better , Emmanuel Bourg Build-Depends: debhelper (>= 9), cdbs, ant, ant-optional Build-Depends-Indep: default-jdk, junit, ant-contrib, maven-repo-helper, libslf4j-java Standards-Version: 3.9.5 Vcs-Svn: svn://anonscm.debian.org/pkg-java/trunk/mysql-connector-java Vcs-Browser: http://anonscm.debian.org/viewvc/pkg-java/trunk/mysql-connector-java/ Homepage: http://www.mysql.com/products/connector/j/ Package: libmysql-java Architecture: all Depends: ${misc:Depends} Suggests: liblog4j1.2-java, libcommons-logging-java Description: Java database (JDBC) driver for MySQL MySQL Connector/J is a JDBC-3.0 Type 4 driver, which means that it is pure Java, implements version 3.0 of the JDBC specification, and communicates directly with the MySQL server using the MySQL protocol. debian/orig-tar.exclude0000664000000000000000000000002512201150133012250 0ustar *.jar *.zip */docs/* debian/patches/0000775000000000000000000000000012260630300010607 5ustar debian/patches/0001-disable-testsuite.patch0000664000000000000000000000101212236544737015657 0ustar From: Debian Java Maintainers Date: Thu, 25 Aug 2011 10:44:00 +0200 Subject: [PATCH] disable testsuite --- build.xml | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) --- a/build.xml +++ b/build.xml @@ -796,7 +796,7 @@ - + debian/patches/series0000664000000000000000000000010112201150133012010 0ustar 0001-disable-testsuite.patch 0002-java6-compilation-compat.patch debian/patches/0002-java6-compilation-compat.patch0000664000000000000000000012423412260630300017021 0ustar Description: This patch adds dummy JDBC4 methods to enable the compilation with Java 6 or 7 and no longer require Java 5 Author: Emmanuel Bourg --- a/src/com/mysql/jdbc/CallableStatement.java +++ b/src/com/mysql/jdbc/CallableStatement.java @@ -426,11 +426,11 @@ * @throws java.sql.SQLException If no object found that implements the interface * @since 1.6 */ - public Object unwrap(Class iface) throws java.sql.SQLException { + public T unwrap(Class iface) throws SQLException { try { // This works for classes that aren't actually wrapping // anything - return Util.cast(iface, this); + return iface.cast(this); } catch (ClassCastException cce) { throw SQLError.createSQLException("Unable to unwrap to " + iface.toString(), SQLError.SQL_STATE_ILLEGAL_ARGUMENT, getExceptionInterceptor()); @@ -2670,4 +2670,76 @@ } } } + + public java.sql.RowId getRowId(int parameterIndex) throws SQLException { + throw new UnsupportedOperationException(); + } + + public java.sql.RowId getRowId(String parameterName) throws SQLException { + throw new UnsupportedOperationException(); + } + + public void setRowId(String parameterName, java.sql.RowId x) throws SQLException { + throw new UnsupportedOperationException(); + } + + public void setNString(String parameterName, String value) throws SQLException { + throw new UnsupportedOperationException(); + } + + public void setNClob(String parameterName, java.sql.NClob value) throws SQLException { + throw new UnsupportedOperationException(); + } + + public void setNClob(String parameterName, Reader reader, long length) throws SQLException { + throw new UnsupportedOperationException(); + } + + public java.sql.NClob getNClob(int parameterIndex) throws SQLException { + throw new UnsupportedOperationException(); + } + + public java.sql.NClob getNClob(String parameterName) throws SQLException { + throw new UnsupportedOperationException(); + } + + public void setSQLXML(String parameterName, java.sql.SQLXML xmlObject) throws SQLException { + throw new UnsupportedOperationException(); + } + + public java.sql.SQLXML getSQLXML(int parameterIndex) throws SQLException { + throw new UnsupportedOperationException(); + } + + public java.sql.SQLXML getSQLXML(String parameterName) throws SQLException { + throw new UnsupportedOperationException(); + } + + public String getNString(int parameterIndex) throws SQLException { + throw new UnsupportedOperationException(); + } + + public String getNString(String parameterName) throws SQLException { + throw new UnsupportedOperationException(); + } + + public Reader getNCharacterStream(int parameterIndex) throws SQLException { + throw new UnsupportedOperationException(); + } + + public Reader getNCharacterStream(String parameterName) throws SQLException { + throw new UnsupportedOperationException(); + } + + public Reader getCharacterStream(int parameterIndex) throws SQLException { + throw new UnsupportedOperationException(); + } + + public Reader getCharacterStream(String parameterName) throws SQLException { + throw new UnsupportedOperationException(); + } + + public void setNClob(String parameterName, Reader reader) throws SQLException { + throw new UnsupportedOperationException(); + } } --- a/src/com/mysql/jdbc/ConnectionImpl.java +++ b/src/com/mysql/jdbc/ConnectionImpl.java @@ -6123,4 +6123,56 @@ return getSocketTimeout(); } } + + public java.sql.Clob createClob() throws SQLException { + throw new UnsupportedOperationException(); + } + + public java.sql.Blob createBlob() throws SQLException { + throw new UnsupportedOperationException(); + } + + public java.sql.NClob createNClob() throws SQLException { + throw new UnsupportedOperationException(); + } + + public java.sql.SQLXML createSQLXML() throws SQLException { + throw new UnsupportedOperationException(); + } + + public boolean isValid(int timeout) throws SQLException { + throw new UnsupportedOperationException(); + } + + public void setClientInfo(String name, String value) throws java.sql.SQLClientInfoException { + throw new UnsupportedOperationException(); + } + + public void setClientInfo(Properties properties) throws java.sql.SQLClientInfoException { + throw new UnsupportedOperationException(); + } + + public String getClientInfo(String name) throws SQLException { + throw new UnsupportedOperationException(); + } + + public Properties getClientInfo() throws SQLException { + throw new UnsupportedOperationException(); + } + + public java.sql.Array createArrayOf(String typeName, Object[] elements) throws SQLException { + throw new UnsupportedOperationException(); + } + + public java.sql.Struct createStruct(String typeName, Object[] attributes) throws SQLException { + throw new UnsupportedOperationException(); + } + + public T unwrap(Class iface) throws SQLException { + throw new UnsupportedOperationException(); + } + + public boolean isWrapperFor(Class iface) throws SQLException { + throw new UnsupportedOperationException(); + } } --- a/src/com/mysql/jdbc/DatabaseMetaData.java +++ b/src/com/mysql/jdbc/DatabaseMetaData.java @@ -8854,4 +8854,20 @@ throws SQLException { return true; } + + public java.sql.RowIdLifetime getRowIdLifetime() throws SQLException { + throw new UnsupportedOperationException(); + } + + public boolean autoCommitFailureClosesAllResultSets() throws SQLException { + throw new UnsupportedOperationException(); + } + + public T unwrap(Class iface) throws SQLException { + throw new UnsupportedOperationException(); + } + + public boolean isWrapperFor(Class iface) throws SQLException { + throw new SQLException(); + } } --- a/src/com/mysql/jdbc/LoadBalancedMySQLConnection.java +++ b/src/com/mysql/jdbc/LoadBalancedMySQLConnection.java @@ -2553,34 +2553,34 @@ getActiveMySQLConnection().setIncludeThreadNamesAsStatementComment(flag); } - public boolean isServerLocal() throws SQLException { - return getActiveMySQLConnection().isServerLocal(); - } - - public void setAuthenticationPlugins(String authenticationPlugins) { - getActiveMySQLConnection().setAuthenticationPlugins(authenticationPlugins); - } - - public String getAuthenticationPlugins() { - return getActiveMySQLConnection().getAuthenticationPlugins(); - } - - public void setDisabledAuthenticationPlugins( - String disabledAuthenticationPlugins) { - getActiveMySQLConnection().setDisabledAuthenticationPlugins(disabledAuthenticationPlugins); - } - - public String getDisabledAuthenticationPlugins() { - return getActiveMySQLConnection().getDisabledAuthenticationPlugins(); - } - - public void setDefaultAuthenticationPlugin( - String defaultAuthenticationPlugin) { - getActiveMySQLConnection().setDefaultAuthenticationPlugin(defaultAuthenticationPlugin); - } - - public String getDefaultAuthenticationPlugin() { - return getActiveMySQLConnection().getDefaultAuthenticationPlugin(); + public boolean isServerLocal() throws SQLException { + return getActiveMySQLConnection().isServerLocal(); + } + + public void setAuthenticationPlugins(String authenticationPlugins) { + getActiveMySQLConnection().setAuthenticationPlugins(authenticationPlugins); + } + + public String getAuthenticationPlugins() { + return getActiveMySQLConnection().getAuthenticationPlugins(); + } + + public void setDisabledAuthenticationPlugins( + String disabledAuthenticationPlugins) { + getActiveMySQLConnection().setDisabledAuthenticationPlugins(disabledAuthenticationPlugins); + } + + public String getDisabledAuthenticationPlugins() { + return getActiveMySQLConnection().getDisabledAuthenticationPlugins(); + } + + public void setDefaultAuthenticationPlugin( + String defaultAuthenticationPlugin) { + getActiveMySQLConnection().setDefaultAuthenticationPlugin(defaultAuthenticationPlugin); + } + + public String getDefaultAuthenticationPlugin() { + return getActiveMySQLConnection().getDefaultAuthenticationPlugin(); } public void setParseInfoCacheFactory(String factoryClassname) { @@ -2673,4 +2673,57 @@ // nothing to do here. } + + + public java.sql.Clob createClob() throws SQLException { + throw new UnsupportedOperationException(); + } + + public java.sql.Blob createBlob() throws SQLException { + throw new UnsupportedOperationException(); + } + + public java.sql.NClob createNClob() throws SQLException { + throw new UnsupportedOperationException(); + } + + public java.sql.SQLXML createSQLXML() throws SQLException { + throw new UnsupportedOperationException(); + } + + public boolean isValid(int timeout) throws SQLException { + throw new UnsupportedOperationException(); + } + + public void setClientInfo(String name, String value) throws java.sql.SQLClientInfoException { + throw new UnsupportedOperationException(); + } + + public void setClientInfo(Properties properties) throws java.sql.SQLClientInfoException { + throw new UnsupportedOperationException(); + } + + public String getClientInfo(String name) throws SQLException { + throw new UnsupportedOperationException(); + } + + public Properties getClientInfo() throws SQLException { + throw new UnsupportedOperationException(); + } + + public java.sql.Array createArrayOf(String typeName, Object[] elements) throws SQLException { + throw new UnsupportedOperationException(); + } + + public java.sql.Struct createStruct(String typeName, Object[] attributes) throws SQLException { + throw new UnsupportedOperationException(); + } + + public T unwrap(Class iface) throws SQLException { + throw new UnsupportedOperationException(); + } + + public boolean isWrapperFor(Class iface) throws SQLException { + throw new UnsupportedOperationException(); + } } --- a/src/com/mysql/jdbc/MysqlParameterMetadata.java +++ b/src/com/mysql/jdbc/MysqlParameterMetadata.java @@ -202,11 +202,11 @@ * @throws java.sql.SQLException If no object found that implements the interface * @since 1.6 */ - public Object unwrap(Class iface) throws java.sql.SQLException { + public T unwrap(Class iface) throws SQLException { try { // This works for classes that aren't actually wrapping // anything - return Util.cast(iface, this); + return iface.cast(this); } catch (ClassCastException cce) { throw SQLError.createSQLException("Unable to unwrap to " + iface.toString(), SQLError.SQL_STATE_ILLEGAL_ARGUMENT, this.exceptionInterceptor); --- a/src/com/mysql/jdbc/NonRegisteringDriver.java +++ b/src/com/mysql/jdbc/NonRegisteringDriver.java @@ -1004,4 +1004,8 @@ } } } + + public java.util.logging.Logger getParentLogger() throws java.sql.SQLFeatureNotSupportedException { + throw new java.sql.SQLFeatureNotSupportedException(); + } } --- a/src/com/mysql/jdbc/PreparedStatement.java +++ b/src/com/mysql/jdbc/PreparedStatement.java @@ -5740,4 +5740,16 @@ statementStartPos, sql, "SELECT", "\"'`", "\"'`", false) == -1 && rewritableOdku; } + + public void setRowId(int parameterIndex, java.sql.RowId x) throws SQLException { + throw new UnsupportedOperationException(); + } + + public void setNClob(int parameterIndex, java.sql.NClob value) throws SQLException { + throw new UnsupportedOperationException(); + } + + public void setSQLXML(int parameterIndex, java.sql.SQLXML xmlObject) throws SQLException { + throw new UnsupportedOperationException(); + } } --- a/src/com/mysql/jdbc/ReplicationConnection.java +++ b/src/com/mysql/jdbc/ReplicationConnection.java @@ -2970,4 +2970,56 @@ public String getConnectionAttributes() throws SQLException { return getCurrentConnection().getConnectionAttributes(); } + + public Clob createClob() throws SQLException { + throw new UnsupportedOperationException(); + } + + public Blob createBlob() throws SQLException { + throw new UnsupportedOperationException(); + } + + public java.sql.NClob createNClob() throws SQLException { + throw new UnsupportedOperationException(); + } + + public java.sql.SQLXML createSQLXML() throws SQLException { + throw new UnsupportedOperationException(); + } + + public boolean isValid(int timeout) throws SQLException { + throw new UnsupportedOperationException(); + } + + public void setClientInfo(String name, String value) throws java.sql.SQLClientInfoException { + throw new UnsupportedOperationException(); + } + + public void setClientInfo(Properties properties) throws java.sql.SQLClientInfoException { + throw new UnsupportedOperationException(); + } + + public String getClientInfo(String name) throws SQLException { + throw new UnsupportedOperationException(); + } + + public Properties getClientInfo() throws SQLException { + throw new UnsupportedOperationException(); + } + + public java.sql.Array createArrayOf(String typeName, Object[] elements) throws SQLException { + throw new UnsupportedOperationException(); + } + + public java.sql.Struct createStruct(String typeName, Object[] attributes) throws SQLException { + throw new UnsupportedOperationException(); + } + + public T unwrap(Class iface) throws SQLException { + throw new UnsupportedOperationException(); + } + + public boolean isWrapperFor(Class iface) throws SQLException { + throw new UnsupportedOperationException(); + } } --- a/src/com/mysql/jdbc/ResultSetImpl.java +++ b/src/com/mysql/jdbc/ResultSetImpl.java @@ -8752,4 +8752,200 @@ protected ExceptionInterceptor getExceptionInterceptor() { return this.exceptionInterceptor; } + + public java.sql.RowId getRowId(int columnIndex) throws SQLException { + throw new UnsupportedOperationException(); + } + + public java.sql.RowId getRowId(String columnLabel) throws SQLException { + throw new UnsupportedOperationException(); + } + + public void updateRowId(int columnIndex, java.sql.RowId x) throws SQLException { + throw new UnsupportedOperationException(); + } + + public void updateRowId(String columnLabel, java.sql.RowId x) throws SQLException { + throw new UnsupportedOperationException(); + } + + public int getHoldability() throws SQLException { + throw new UnsupportedOperationException(); + } + + public void updateNString(int columnIndex, String nString) throws SQLException { + throw new UnsupportedOperationException(); + } + + public void updateNString(String columnLabel, String nString) throws SQLException { + throw new UnsupportedOperationException(); + } + + public void updateNClob(int columnIndex, java.sql.NClob nClob) throws SQLException { + throw new UnsupportedOperationException(); + } + + public void updateNClob(String columnLabel, java.sql.NClob nClob) throws SQLException { + throw new UnsupportedOperationException(); + } + + public java.sql.NClob getNClob(int columnIndex) throws SQLException { + throw new UnsupportedOperationException(); + } + + public java.sql.NClob getNClob(String columnLabel) throws SQLException { + throw new UnsupportedOperationException(); + } + + public java.sql.SQLXML getSQLXML(int columnIndex) throws SQLException { + throw new UnsupportedOperationException(); + } + + public java.sql.SQLXML getSQLXML(String columnLabel) throws SQLException { + throw new UnsupportedOperationException(); + } + + public void updateSQLXML(int columnIndex, java.sql.SQLXML xmlObject) throws SQLException { + throw new UnsupportedOperationException(); + } + + public void updateSQLXML(String columnLabel, java.sql.SQLXML xmlObject) throws SQLException { + throw new UnsupportedOperationException(); + } + + public String getNString(int columnIndex) throws SQLException { + throw new UnsupportedOperationException(); + } + + public String getNString(String columnLabel) throws SQLException { + throw new UnsupportedOperationException(); + } + + public java.io.Reader getNCharacterStream(int columnIndex) throws SQLException { + throw new UnsupportedOperationException(); + } + + public java.io.Reader getNCharacterStream(String columnLabel) throws SQLException { + throw new UnsupportedOperationException(); + } + + public void updateNCharacterStream(int columnIndex, java.io.Reader x, long length) throws SQLException { + throw new UnsupportedOperationException(); + } + + public void updateNCharacterStream(String columnLabel, java.io.Reader reader, long length) throws SQLException { + throw new UnsupportedOperationException(); + } + + public void updateAsciiStream(int columnIndex, InputStream x, long length) throws SQLException { + throw new UnsupportedOperationException(); + } + + public void updateBinaryStream(int columnIndex, InputStream x, long length) throws SQLException { + throw new UnsupportedOperationException(); + } + + public void updateCharacterStream(int columnIndex, java.io.Reader x, long length) throws SQLException { + throw new UnsupportedOperationException(); + } + + public void updateAsciiStream(String columnLabel, InputStream x, long length) throws SQLException { + throw new UnsupportedOperationException(); + } + + public void updateBinaryStream(String columnLabel, InputStream x, long length) throws SQLException { + throw new UnsupportedOperationException(); + } + + public void updateCharacterStream(String columnLabel, java.io.Reader reader, long length) throws SQLException { + throw new UnsupportedOperationException(); + } + + public void updateBlob(int columnIndex, InputStream inputStream, long length) throws SQLException { + throw new UnsupportedOperationException(); + } + + public void updateBlob(String columnLabel, InputStream inputStream, long length) throws SQLException { + throw new UnsupportedOperationException(); + } + + public void updateClob(int columnIndex, java.io.Reader reader, long length) throws SQLException { + throw new UnsupportedOperationException(); + } + + public void updateClob(String columnLabel, java.io.Reader reader, long length) throws SQLException { + throw new UnsupportedOperationException(); + } + + public void updateNClob(int columnIndex, java.io.Reader reader, long length) throws SQLException { + throw new UnsupportedOperationException(); + } + + public void updateNClob(String columnLabel, java.io.Reader reader, long length) throws SQLException { + throw new UnsupportedOperationException(); + } + + public void updateNCharacterStream(int columnIndex, java.io.Reader x) throws SQLException { + throw new UnsupportedOperationException(); + } + + public void updateNCharacterStream(String columnLabel, java.io.Reader reader) throws SQLException { + throw new UnsupportedOperationException(); + } + + public void updateAsciiStream(int columnIndex, InputStream x) throws SQLException { + throw new UnsupportedOperationException(); + } + + public void updateBinaryStream(int columnIndex, InputStream x) throws SQLException { + throw new UnsupportedOperationException(); + } + + public void updateCharacterStream(int columnIndex, java.io.Reader x) throws SQLException { + throw new UnsupportedOperationException(); + } + + public void updateAsciiStream(String columnLabel, InputStream x) throws SQLException { + throw new UnsupportedOperationException(); + } + + public void updateBinaryStream(String columnLabel, InputStream x) throws SQLException { + throw new UnsupportedOperationException(); + } + + public void updateCharacterStream(String columnLabel, java.io.Reader reader) throws SQLException { + throw new UnsupportedOperationException(); + } + + public void updateBlob(int columnIndex, InputStream inputStream) throws SQLException { + throw new UnsupportedOperationException(); + } + + public void updateBlob(String columnLabel, InputStream inputStream) throws SQLException { + throw new UnsupportedOperationException(); + } + + public void updateClob(int columnIndex, java.io.Reader reader) throws SQLException { + throw new UnsupportedOperationException(); + } + + public void updateClob(String columnLabel, java.io.Reader reader) throws SQLException { + throw new UnsupportedOperationException(); + } + + public void updateNClob(int columnIndex, java.io.Reader reader) throws SQLException { + throw new UnsupportedOperationException(); + } + + public void updateNClob(String columnLabel, java.io.Reader reader) throws SQLException { + throw new UnsupportedOperationException(); + } + + public T unwrap(Class iface) throws SQLException { + throw new UnsupportedOperationException(); + } + + public boolean isWrapperFor(Class iface) throws SQLException { + throw new UnsupportedOperationException(); + } } --- a/src/com/mysql/jdbc/ResultSetMetaData.java +++ b/src/com/mysql/jdbc/ResultSetMetaData.java @@ -848,11 +848,11 @@ * @throws java.sql.SQLException If no object found that implements the interface * @since 1.6 */ - public Object unwrap(Class iface) throws java.sql.SQLException { + public T unwrap(Class iface) throws SQLException { try { // This works for classes that aren't actually wrapping // anything - return Util.cast(iface, this); + return iface.cast(this); } catch (ClassCastException cce) { throw SQLError.createSQLException("Unable to unwrap to " + iface.toString(), SQLError.SQL_STATE_ILLEGAL_ARGUMENT, this.exceptionInterceptor); --- a/src/com/mysql/jdbc/StatementImpl.java +++ b/src/com/mysql/jdbc/StatementImpl.java @@ -3008,11 +3008,11 @@ * @throws java.sql.SQLException If no object found that implements the interface * @since 1.6 */ - public Object unwrap(Class iface) throws java.sql.SQLException { + public T unwrap(Class iface) throws SQLException { try { // This works for classes that aren't actually wrapping // anything - return Util.cast(iface, this); + return iface.cast(this); } catch (ClassCastException cce) { throw SQLError.createSQLException("Unable to unwrap to " + iface.toString(), SQLError.SQL_STATE_ILLEGAL_ARGUMENT, getExceptionInterceptor()); --- a/src/com/mysql/jdbc/jdbc2/optional/CallableStatementWrapper.java +++ b/src/com/mysql/jdbc/jdbc2/optional/CallableStatementWrapper.java @@ -2636,4 +2636,139 @@ // throw SQLError.notImplemented(); // } + public java.sql.RowId getRowId(int parameterIndex) throws SQLException { + throw new UnsupportedOperationException(); + } + + public java.sql.RowId getRowId(String parameterName) throws SQLException { + throw new UnsupportedOperationException(); + } + + public void setRowId(String parameterName, java.sql.RowId x) throws SQLException { + throw new UnsupportedOperationException(); + } + + public void setNString(String parameterName, String value) throws SQLException { + throw new UnsupportedOperationException(); + } + + public void setNCharacterStream(String parameterName, Reader value, long length) throws SQLException { + throw new UnsupportedOperationException(); + } + + public void setNClob(String parameterName, java.sql.NClob value) throws SQLException { + throw new UnsupportedOperationException(); + } + + public void setClob(String parameterName, Reader reader, long length) throws SQLException { + throw new UnsupportedOperationException(); + } + + public void setBlob(String parameterName, InputStream inputStream, long length) throws SQLException { + throw new UnsupportedOperationException(); + } + + public void setNClob(String parameterName, Reader reader, long length) throws SQLException { + throw new UnsupportedOperationException(); + } + + public java.sql.NClob getNClob(int parameterIndex) throws SQLException { + throw new UnsupportedOperationException(); + } + + public java.sql.NClob getNClob(String parameterName) throws SQLException { + throw new UnsupportedOperationException(); + } + + public void setSQLXML(String parameterName, java.sql.SQLXML xmlObject) throws SQLException { + throw new UnsupportedOperationException(); + } + + public java.sql.SQLXML getSQLXML(int parameterIndex) throws SQLException { + throw new UnsupportedOperationException(); + } + + public java.sql.SQLXML getSQLXML(String parameterName) throws SQLException { + throw new UnsupportedOperationException(); + } + + public String getNString(int parameterIndex) throws SQLException { + throw new UnsupportedOperationException(); + } + + public String getNString(String parameterName) throws SQLException { + throw new UnsupportedOperationException(); + } + + public Reader getNCharacterStream(int parameterIndex) throws SQLException { + throw new UnsupportedOperationException(); + } + + public Reader getNCharacterStream(String parameterName) throws SQLException { + throw new UnsupportedOperationException(); + } + + public Reader getCharacterStream(int parameterIndex) throws SQLException { + throw new UnsupportedOperationException(); + } + + public Reader getCharacterStream(String parameterName) throws SQLException { + throw new UnsupportedOperationException(); + } + + public void setBlob(String parameterName, Blob x) throws SQLException { + throw new UnsupportedOperationException(); + } + + public void setClob(String parameterName, Clob x) throws SQLException { + throw new UnsupportedOperationException(); + } + + public void setAsciiStream(String parameterName, InputStream x, long length) throws SQLException { + throw new UnsupportedOperationException(); + } + + public void setBinaryStream(String parameterName, InputStream x, long length) throws SQLException { + throw new UnsupportedOperationException(); + } + + public void setCharacterStream(String parameterName, Reader reader, long length) throws SQLException { + throw new UnsupportedOperationException(); + } + + public void setAsciiStream(String parameterName, InputStream x) throws SQLException { + throw new UnsupportedOperationException(); + } + + public void setBinaryStream(String parameterName, InputStream x) throws SQLException { + throw new UnsupportedOperationException(); + } + + public void setCharacterStream(String parameterName, Reader reader) throws SQLException { + throw new UnsupportedOperationException(); + } + + public void setNCharacterStream(String parameterName, Reader value) throws SQLException { + throw new UnsupportedOperationException(); + } + + public void setClob(String parameterName, Reader reader) throws SQLException { + throw new UnsupportedOperationException(); + } + + public void setBlob(String parameterName, InputStream inputStream) throws SQLException { + throw new UnsupportedOperationException(); + } + + public void setNClob(String parameterName, Reader reader) throws SQLException { + throw new UnsupportedOperationException(); + } + + public T getObject(int parameterIndex, Class type) throws SQLException { + throw new UnsupportedOperationException(); + } + + public T getObject(String parameterName, Class type) throws SQLException { + throw new UnsupportedOperationException(); + } } --- a/src/com/mysql/jdbc/jdbc2/optional/ConnectionWrapper.java +++ b/src/com/mysql/jdbc/jdbc2/optional/ConnectionWrapper.java @@ -2859,7 +2859,59 @@ } - public String getConnectionAttributes() throws SQLException { - return this.mc.getConnectionAttributes(); - } -} \ No newline at end of file + public String getConnectionAttributes() throws SQLException { + return this.mc.getConnectionAttributes(); + } + + public java.sql.Clob createClob() throws SQLException { + throw new UnsupportedOperationException(); + } + + public java.sql.Blob createBlob() throws SQLException { + throw new UnsupportedOperationException(); + } + + public java.sql.NClob createNClob() throws SQLException { + throw new UnsupportedOperationException(); + } + + public java.sql.SQLXML createSQLXML() throws SQLException { + throw new UnsupportedOperationException(); + } + + public boolean isValid(int timeout) throws SQLException { + throw new UnsupportedOperationException(); + } + + public void setClientInfo(String name, String value) throws java.sql.SQLClientInfoException { + throw new UnsupportedOperationException(); + } + + public void setClientInfo(Properties properties) throws java.sql.SQLClientInfoException { + throw new UnsupportedOperationException(); + } + + public String getClientInfo(String name) throws SQLException { + throw new UnsupportedOperationException(); + } + + public Properties getClientInfo() throws SQLException { + throw new UnsupportedOperationException(); + } + + public java.sql.Array createArrayOf(String typeName, Object[] elements) throws SQLException { + throw new UnsupportedOperationException(); + } + + public java.sql.Struct createStruct(String typeName, Object[] attributes) throws SQLException { + throw new UnsupportedOperationException(); + } + + public T unwrap(Class iface) throws SQLException { + throw new UnsupportedOperationException(); + } + + public boolean isWrapperFor(Class iface) throws SQLException { + throw new UnsupportedOperationException(); + } +} --- a/src/com/mysql/jdbc/jdbc2/optional/MysqlDataSource.java +++ b/src/com/mysql/jdbc/jdbc2/optional/MysqlDataSource.java @@ -450,4 +450,16 @@ // public T unwrap(Class iface) throws SQLException { // throw SQLError.notImplemented(); // } + + public java.util.logging.Logger getParentLogger() throws java.sql.SQLFeatureNotSupportedException { + throw new java.sql.SQLFeatureNotSupportedException(); + } + + public T unwrap(Class iface) throws SQLException { + throw new UnsupportedOperationException(); + } + + public boolean isWrapperFor(Class iface) throws SQLException { + throw new UnsupportedOperationException(); + } } --- a/src/com/mysql/jdbc/jdbc2/optional/MysqlPooledConnection.java +++ b/src/com/mysql/jdbc/jdbc2/optional/MysqlPooledConnection.java @@ -254,4 +254,12 @@ protected ExceptionInterceptor getExceptionInterceptor() { return this.exceptionInterceptor; } + + public void addStatementEventListener(javax.sql.StatementEventListener listener) { + throw new UnsupportedOperationException(); + } + + public void removeStatementEventListener(javax.sql.StatementEventListener listener) { + throw new UnsupportedOperationException(); + } } \ No newline at end of file --- a/src/com/mysql/jdbc/jdbc2/optional/PreparedStatementWrapper.java +++ b/src/com/mysql/jdbc/jdbc2/optional/PreparedStatementWrapper.java @@ -1240,4 +1240,76 @@ // public Object unwrap(Class arg0) throws SQLException { // throw SQLError.notImplemented(); // } + + public void setRowId(int parameterIndex, java.sql.RowId x) throws SQLException { + throw new UnsupportedOperationException(); + } + + public void setNString(int parameterIndex, String value) throws SQLException { + throw new UnsupportedOperationException(); + } + + public void setNCharacterStream(int parameterIndex, Reader value, long length) throws SQLException { + throw new UnsupportedOperationException(); + } + + public void setNClob(int parameterIndex, java.sql.NClob value) throws SQLException { + throw new UnsupportedOperationException(); + } + + public void setClob(int parameterIndex, Reader reader, long length) throws SQLException { + throw new UnsupportedOperationException(); + } + + public void setBlob(int parameterIndex, InputStream inputStream, long length) throws SQLException { + throw new UnsupportedOperationException(); + } + + public void setNClob(int parameterIndex, Reader reader, long length) throws SQLException { + throw new UnsupportedOperationException(); + } + + public void setSQLXML(int parameterIndex, java.sql.SQLXML xmlObject) throws SQLException { + throw new UnsupportedOperationException(); + } + + public void setAsciiStream(int parameterIndex, InputStream x, long length) throws SQLException { + throw new UnsupportedOperationException(); + } + + public void setBinaryStream(int parameterIndex, InputStream x, long length) throws SQLException { + throw new UnsupportedOperationException(); + } + + public void setCharacterStream(int parameterIndex, Reader reader, long length) throws SQLException { + throw new UnsupportedOperationException(); + } + + public void setAsciiStream(int parameterIndex, InputStream x) throws SQLException { + throw new UnsupportedOperationException(); + } + + public void setBinaryStream(int parameterIndex, InputStream x) throws SQLException { + throw new UnsupportedOperationException(); + } + + public void setCharacterStream(int parameterIndex, Reader reader) throws SQLException { + throw new UnsupportedOperationException(); + } + + public void setNCharacterStream(int parameterIndex, Reader value) throws SQLException { + throw new UnsupportedOperationException(); + } + + public void setClob(int parameterIndex, Reader reader) throws SQLException { + throw new UnsupportedOperationException(); + } + + public void setBlob(int parameterIndex, InputStream inputStream) throws SQLException { + throw new UnsupportedOperationException(); + } + + public void setNClob(int parameterIndex, Reader reader) throws SQLException { + throw new UnsupportedOperationException(); + } } --- a/src/com/mysql/jdbc/jdbc2/optional/StatementWrapper.java +++ b/src/com/mysql/jdbc/jdbc2/optional/StatementWrapper.java @@ -866,4 +866,32 @@ checkAndFireConnectionError(sqlEx); } } + + public boolean isClosed() throws SQLException { + throw new UnsupportedOperationException(); + } + + public void setPoolable(boolean poolable) throws SQLException { + throw new UnsupportedOperationException(); + } + + public boolean isPoolable() throws SQLException { + throw new UnsupportedOperationException(); + } + + public void closeOnCompletion() throws SQLException { + throw new UnsupportedOperationException(); + } + + public boolean isCloseOnCompletion() throws SQLException { + throw new UnsupportedOperationException(); + } + + public T unwrap(Class iface) throws SQLException { + throw new UnsupportedOperationException(); + } + + public boolean isWrapperFor(Class iface) throws SQLException { + throw new UnsupportedOperationException(); + } } --- a/src/testsuite/regression/StatementRegressionTest.java +++ b/src/testsuite/regression/StatementRegressionTest.java @@ -2537,7 +2537,7 @@ try { pStmt = this.conn .prepareStatement("INSERT INTO testNullClob VALUES (?)"); - pStmt.setClob(1, null); + pStmt.setClob(1, (Clob) null); pStmt.executeUpdate(); } finally { if (pStmt != null) { @@ -5275,7 +5275,180 @@ public int getBytesSize() throws SQLException { return 0; } - }; + + public java.sql.RowId getRowId(int columnIndex) throws SQLException { + return null; + } + + public java.sql.RowId getRowId(String columnLabel) throws SQLException { + return null; + } + + public void updateRowId(int columnIndex, java.sql.RowId x) throws SQLException { + } + + public void updateRowId(String columnLabel, java.sql.RowId x) throws SQLException { + } + + public int getHoldability() throws SQLException { + return 0; + } + + public boolean isClosed() throws SQLException { + return false; + } + + public void updateNString(int columnIndex, String nString) throws SQLException { + } + + public void updateNString(String columnLabel, String nString) throws SQLException { + } + + public void updateNClob(int columnIndex, java.sql.NClob nClob) throws SQLException { + } + + public void updateNClob(String columnLabel, java.sql.NClob nClob) throws SQLException { + } + + public java.sql.NClob getNClob(int columnIndex) throws SQLException { + return null; + } + + public java.sql.NClob getNClob(String columnLabel) throws SQLException { + return null; + } + + public java.sql.SQLXML getSQLXML(int columnIndex) throws SQLException { + return null; + } + + public java.sql.SQLXML getSQLXML(String columnLabel) throws SQLException { + return null; + } + + public void updateSQLXML(int columnIndex, java.sql.SQLXML xmlObject) throws SQLException { + } + + public void updateSQLXML(String columnLabel, java.sql.SQLXML xmlObject) throws SQLException { + } + + public String getNString(int columnIndex) throws SQLException { + return null; + } + + public String getNString(String columnLabel) throws SQLException { + return null; + } + + public Reader getNCharacterStream(int columnIndex) throws SQLException { + return null; + } + + public Reader getNCharacterStream(String columnLabel) throws SQLException { + return null; + } + + public void updateNCharacterStream(int columnIndex, Reader x, long length) throws SQLException { + } + + public void updateNCharacterStream(String columnLabel, Reader reader, long length) throws SQLException { + } + + public void updateAsciiStream(int columnIndex, InputStream x, long length) throws SQLException { + } + + public void updateBinaryStream(int columnIndex, InputStream x, long length) throws SQLException { + } + + public void updateCharacterStream(int columnIndex, Reader x, long length) throws SQLException { + } + + public void updateAsciiStream(String columnLabel, InputStream x, long length) throws SQLException { + } + + public void updateBinaryStream(String columnLabel, InputStream x, long length) throws SQLException { + } + + public void updateCharacterStream(String columnLabel, Reader reader, long length) throws SQLException { + } + + public void updateBlob(int columnIndex, InputStream inputStream, long length) throws SQLException { + } + + public void updateBlob(String columnLabel, InputStream inputStream, long length) throws SQLException { + } + + public void updateClob(int columnIndex, Reader reader, long length) throws SQLException { + } + + public void updateClob(String columnLabel, Reader reader, long length) throws SQLException { + } + + public void updateNClob(int columnIndex, Reader reader, long length) throws SQLException { + + } + + public void updateNClob(String columnLabel, Reader reader, long length) throws SQLException { + } + + public void updateNCharacterStream(int columnIndex, Reader x) throws SQLException { + } + + public void updateNCharacterStream(String columnLabel, Reader reader) throws SQLException { + } + + public void updateAsciiStream(int columnIndex, InputStream x) throws SQLException { + } + + public void updateBinaryStream(int columnIndex, InputStream x) throws SQLException { + } + + public void updateCharacterStream(int columnIndex, Reader x) throws SQLException { + } + + public void updateAsciiStream(String columnLabel, InputStream x) throws SQLException { + } + + public void updateBinaryStream(String columnLabel, InputStream x) throws SQLException { + } + + public void updateCharacterStream(String columnLabel, Reader reader) throws SQLException { + } + + public void updateBlob(int columnIndex, InputStream inputStream) throws SQLException { + } + + public void updateBlob(String columnLabel, InputStream inputStream) throws SQLException { + } + + public void updateClob(int columnIndex, Reader reader) throws SQLException { + } + + public void updateClob(String columnLabel, Reader reader) throws SQLException { + } + + public void updateNClob(int columnIndex, Reader reader) throws SQLException { + } + + public void updateNClob(String columnLabel, Reader reader) throws SQLException { + } + + public T getObject(int columnIndex, Class type) throws SQLException { + return null; + } + + public T getObject(String columnLabel, Class type) throws SQLException { + return null; + } + + public T unwrap(Class iface) throws SQLException { + return null; + } + + public boolean isWrapperFor(Class iface) throws SQLException { + return false; + } + }; } /**