Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 854475 Details for
Bug 1049223
mysql-connector-java-5.1.28 is available
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
git commit updating to 5.1.28
0001-Update-to-5.1.28-fix-generate-tarball.sh-to-also-rem.patch (text/plain), 87.36 KB, created by
Jakub Dorňák
on 2014-01-23 16:44:04 UTC
(
hide
)
Description:
git commit updating to 5.1.28
Filename:
MIME Type:
Creator:
Jakub Dorňák
Created:
2014-01-23 16:44:04 UTC
Size:
87.36 KB
patch
obsolete
>From bd1bd4a28a508d050abf257e0f285d7bb3dc2fcd Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Jakub=20Dor=C5=88=C3=A1k?= <jdornak@redhat.com> >Date: Thu, 23 Jan 2014 17:03:43 +0100 >Subject: [PATCH] Update to 5.1.28, fix generate-tarball.sh to also remove .zip > files Resolves: #1049223 > >--- > .gitignore | 1 + > generate-tarball.sh | 2 +- > mysql-connector-java-jdbc-4.1.patch | 1595 +++++++++++++++++------------------ > mysql-connector-java.spec | 19 +- > sources | 2 +- > 5 files changed, 809 insertions(+), 810 deletions(-) > >diff --git a/.gitignore b/.gitignore >index 255d747..8f34eca 100644 >--- a/.gitignore >+++ b/.gitignore >@@ -5,3 +5,4 @@ > /mysql-connector-java-5.1.25.tar.gz > /mysql-connector-java-5.1.26.tar.gz > /mysql-connector-java-5.1.26-nojars.tar.xz >+/mysql-connector-java-5.1.28-nojars.tar.xz >diff --git a/generate-tarball.sh b/generate-tarball.sh >index 2931510..0aa98f0 100755 >--- a/generate-tarball.sh >+++ b/generate-tarball.sh >@@ -6,7 +6,7 @@ rm -rf mysql-connector-java-$VERSION > > tar xfz mysql-connector-java-$VERSION.tar.gz || exit 1 > >-find mysql-connector-java-$VERSION -name '*.jar' -exec rm {} \; >+find mysql-connector-java-$VERSION -name '*.jar' -exec rm {} \; -o -name '*.zip' -exec rm {} \; > > tar cfJ mysql-connector-java-$VERSION-nojars.tar.xz mysql-connector-java-$VERSION || exit 1 > >diff --git a/mysql-connector-java-jdbc-4.1.patch b/mysql-connector-java-jdbc-4.1.patch >index e0740a3..7762a5d 100644 >--- a/mysql-connector-java-jdbc-4.1.patch >+++ b/mysql-connector-java-jdbc-4.1.patch >@@ -1,6 +1,6 @@ >-diff -up mysql-connector-java-5.1.26/src/com/mysql/jdbc/CallableStatement.java.p0 mysql-connector-java-5.1.26/src/com/mysql/jdbc/CallableStatement.java >---- mysql-connector-java-5.1.26/src/com/mysql/jdbc/CallableStatement.java.p0 2013-07-24 02:07:01.000000000 +0200 >-+++ mysql-connector-java-5.1.26/src/com/mysql/jdbc/CallableStatement.java 2013-10-23 10:44:56.692452869 +0200 >+diff -up --recursive mysql-connector-java-5.1.28.orig/src/com/mysql/jdbc/CallableStatement.java mysql-connector-java-5.1.28/src/com/mysql/jdbc/CallableStatement.java >+--- mysql-connector-java-5.1.28.orig/src/com/mysql/jdbc/CallableStatement.java 2013-11-28 08:39:32.000000000 +0100 >++++ mysql-connector-java-5.1.28/src/com/mysql/jdbc/CallableStatement.java 2014-01-23 15:09:10.975010181 +0100 > @@ -31,11 +31,15 @@ import java.net.URL; > import java.sql.Array; > import java.sql.Blob; >@@ -35,101 +35,101 @@ diff -up mysql-connector-java-5.1.26/src/com/mysql/jdbc/CallableStatement.java.p > } > } > } >-+ >++ > + @Override > + public void setNClob(String parameterName, NClob value) throws SQLException { > + throw new SQLFeatureNotSupportedException("Not supported"); > + } >-+ >++ > + @Override > + public void setNClob(String parameterName, Reader reader, long length) throws SQLException { > + throw new SQLFeatureNotSupportedException("Not supported"); > + } >-+ >++ > + @Override > + public void setNClob(String parameterName, Reader reader) throws SQLException { > + throw new SQLFeatureNotSupportedException("Not supported"); > + } >-+ >++ > + @Override > + public java.io.Reader getCharacterStream(int parameterIndex) throws SQLException { > + throw new SQLFeatureNotSupportedException("Not supported"); > + } >-+ >++ > + @Override > + public java.io.Reader getCharacterStream(String parameterName) throws SQLException { > + throw new SQLFeatureNotSupportedException("Not supported"); > + } >-+ >++ > + @Override > + public java.io.Reader getNCharacterStream(int parameterIndex) throws SQLException { > + throw new SQLFeatureNotSupportedException("Not supported"); > + } >-+ >++ > + @Override > + public java.io.Reader getNCharacterStream(String parameterName) throws SQLException { > + throw new SQLFeatureNotSupportedException("Not supported"); > + } >-+ >++ > + @Override > + public String getNString(int parameterIndex) throws SQLException { > + throw new SQLFeatureNotSupportedException("Not supported"); > + } >-+ >++ > + @Override > + public String getNString(String parameterName) throws SQLException { > + throw new SQLFeatureNotSupportedException("Not supported"); > + } >-+ >++ > + @Override > + public SQLXML getSQLXML(int parameterIndex) throws SQLException { > + throw new SQLFeatureNotSupportedException("Not supported"); > + } >-+ >++ > + @Override > + public SQLXML getSQLXML(String parameterName) throws SQLException { > + throw new SQLFeatureNotSupportedException("Not supported"); > + } >-+ >++ > + @Override > + public void setSQLXML(String parameterName, SQLXML xmlObject) throws SQLException { > + throw new SQLFeatureNotSupportedException("Not supported"); > + } >-+ >++ > + @Override > + public NClob getNClob (int parameterName) throws SQLException { > + throw new SQLFeatureNotSupportedException("Not supported"); > + } >-+ >++ > + @Override > + public NClob getNClob (String parameterName) throws SQLException { > + throw new SQLFeatureNotSupportedException("Not supported"); > + } >-+ >++ > + @Override > + public void setNString(String parameterName, String value) throws SQLException { > + throw new SQLFeatureNotSupportedException("Not supported"); > + } >-+ >++ > + @Override > + public void setRowId(String parameterName, RowId x) throws SQLException { > + throw new SQLFeatureNotSupportedException("Not supported"); > + } >-+ >++ > + @Override > + public RowId getRowId(int parameterIndex) throws SQLException { > + throw new SQLFeatureNotSupportedException("Not supported"); > + } >-+ >++ > + @Override > + public RowId getRowId(String parameterName) throws SQLException { > + throw new SQLFeatureNotSupportedException("Not supported"); > + } > + > } >-diff -up mysql-connector-java-5.1.26/src/com/mysql/jdbc/ConnectionImpl.java.p0 mysql-connector-java-5.1.26/src/com/mysql/jdbc/ConnectionImpl.java >---- mysql-connector-java-5.1.26/src/com/mysql/jdbc/ConnectionImpl.java.p0 2013-07-24 02:07:01.000000000 +0200 >-+++ mysql-connector-java-5.1.26/src/com/mysql/jdbc/ConnectionImpl.java 2013-10-23 10:44:56.694452864 +0200 >+diff -up --recursive mysql-connector-java-5.1.28.orig/src/com/mysql/jdbc/ConnectionImpl.java mysql-connector-java-5.1.28/src/com/mysql/jdbc/ConnectionImpl.java >+--- mysql-connector-java-5.1.28.orig/src/com/mysql/jdbc/ConnectionImpl.java 2013-11-28 08:39:32.000000000 +0100 >++++ mysql-connector-java-5.1.28/src/com/mysql/jdbc/ConnectionImpl.java 2014-01-23 15:09:10.976010181 +0100 > @@ -34,11 +34,16 @@ import java.nio.charset.Charset; > import java.nio.charset.CharsetEncoder; > import java.sql.Blob; >@@ -147,82 +147,83 @@ diff -up mysql-connector-java-5.1.26/src/com/mysql/jdbc/ConnectionImpl.java.p0 m > import java.util.ArrayList; > import java.util.Calendar; > import java.util.Collections; >-@@ -6107,4 +6112,71 @@ public class ConnectionImpl extends Conn >+@@ -6123,4 +6128,71 @@ public class ConnectionImpl extends Conn > return getSocketTimeout(); > } > } >-+ >++ > + @Override > + public Struct createStruct(String typeName, Object[] attributes) throws SQLException { > + throw new SQLFeatureNotSupportedException("Not supported"); > + } >-+ >++ > + @Override > + public java.sql.Array createArrayOf(String typeName, Object[] elements) throws SQLException { > + throw new SQLFeatureNotSupportedException("Not supported"); > + } >-+ >++ > + @Override > + public String getClientInfo(String name) throws SQLException { > + throw new SQLFeatureNotSupportedException("Not supported"); > + } >-+ >++ > + @Override > + public Properties getClientInfo() throws SQLException { > + throw new SQLFeatureNotSupportedException("Not supported"); > + } >-+ >++ > + @Override > + public void setClientInfo(String name, String value) > + throws SQLClientInfoException { > + //throw new SQLFeatureNotSupportedException("Not supported"); > + } >-+ >++ > + @Override > + public void setClientInfo(Properties properties) throws SQLClientInfoException { > + //throw new SQLFeatureNotSupportedException("Not supported"); > + } >-+ >++ > + @Override > + public boolean isValid(int timeout) throws SQLException { > + throw new SQLFeatureNotSupportedException("Not supported"); > + } >-+ >++ > + @Override > + public SQLXML createSQLXML() throws SQLException { > + throw new SQLFeatureNotSupportedException("Not supported"); > + } >-+ >++ > + @Override > + public NClob createNClob() throws SQLException { > + throw new SQLFeatureNotSupportedException("Not supported"); > + } >-+ >++ > + @Override > + public Blob createBlob() throws SQLException { > + throw new SQLFeatureNotSupportedException("Not supported"); > + } >-+ >++ > + @Override > + public Clob createClob() throws SQLException { > + throw new SQLFeatureNotSupportedException("Not supported"); > + } >-+ >++ > + @Override > + public boolean isWrapperFor(java.lang.Class<?> iface) throws java.sql.SQLException { > + throw new SQLFeatureNotSupportedException("Not supported"); > + } >-+ >++ > + @Override > + public <T> T unwrap(java.lang.Class<T> iface) throws java.sql.SQLException { > + throw new SQLFeatureNotSupportedException("Not supported"); > + } >-+ >++ > } >-diff -up mysql-connector-java-5.1.26/src/com/mysql/jdbc/DatabaseMetaData.java.p0 mysql-connector-java-5.1.26/src/com/mysql/jdbc/DatabaseMetaData.java >---- mysql-connector-java-5.1.26/src/com/mysql/jdbc/DatabaseMetaData.java.p0 2013-07-24 02:07:01.000000000 +0200 >-+++ mysql-connector-java-5.1.26/src/com/mysql/jdbc/DatabaseMetaData.java 2013-10-23 10:56:08.828981428 +0200 >-@@ -27,6 +27,8 @@ import java.sql.ResultSet; >+Only in mysql-connector-java-5.1.28/src/com/mysql/jdbc: ConnectionImpl.java.orig >+diff -up --recursive mysql-connector-java-5.1.28.orig/src/com/mysql/jdbc/DatabaseMetaData.java mysql-connector-java-5.1.28/src/com/mysql/jdbc/DatabaseMetaData.java >+--- mysql-connector-java-5.1.28.orig/src/com/mysql/jdbc/DatabaseMetaData.java 2013-11-28 08:39:32.000000000 +0100 >++++ mysql-connector-java-5.1.28/src/com/mysql/jdbc/DatabaseMetaData.java 2014-01-23 15:09:10.977010181 +0100 >+@@ -30,6 +30,8 @@ import java.sql.ResultSet; > import java.sql.SQLException; > import java.sql.Statement; > import java.sql.Types; >@@ -231,35 +232,36 @@ diff -up mysql-connector-java-5.1.26/src/com/mysql/jdbc/DatabaseMetaData.java.p0 > import java.util.ArrayList; > import java.util.Collections; > import java.util.HashMap; >-@@ -8694,4 +8696,25 @@ public class DatabaseMetaData implements >+@@ -8854,4 +8856,25 @@ public class DatabaseMetaData implements > throws SQLException { > return true; > } >-+ >++ > + @Override > + public boolean autoCommitFailureClosesAllResultSets() throws SQLException { > + throw new SQLFeatureNotSupportedException("Not supported"); > + } >-+ >++ > + @Override > + public RowIdLifetime getRowIdLifetime() throws SQLException { > + throw new SQLFeatureNotSupportedException("Not supported"); > + } >-+ >++ > + @Override > + public boolean isWrapperFor(java.lang.Class<?> iface) throws java.sql.SQLException { > + throw new SQLFeatureNotSupportedException("Not supported"); > + } >-+ >++ > + @Override > + public <T> T unwrap(java.lang.Class<T> iface) throws java.sql.SQLException { > + throw new SQLFeatureNotSupportedException("Not supported"); > + } > + > } >-diff -up mysql-connector-java-5.1.26/src/com/mysql/jdbc/Driver.java.p0 mysql-connector-java-5.1.26/src/com/mysql/jdbc/Driver.java >---- mysql-connector-java-5.1.26/src/com/mysql/jdbc/Driver.java.p0 2013-07-24 02:07:01.000000000 +0200 >-+++ mysql-connector-java-5.1.26/src/com/mysql/jdbc/Driver.java 2013-10-23 10:44:56.697452857 +0200 >+Only in mysql-connector-java-5.1.28/src/com/mysql/jdbc: DatabaseMetaData.java.orig >+diff -up --recursive mysql-connector-java-5.1.28.orig/src/com/mysql/jdbc/Driver.java mysql-connector-java-5.1.28/src/com/mysql/jdbc/Driver.java >+--- mysql-connector-java-5.1.28.orig/src/com/mysql/jdbc/Driver.java 2013-11-28 08:39:32.000000000 +0100 >++++ mysql-connector-java-5.1.28/src/com/mysql/jdbc/Driver.java 2014-01-23 15:09:10.977010181 +0100 > @@ -26,6 +26,8 @@ > package com.mysql.jdbc; > >@@ -279,535 +281,9 @@ diff -up mysql-connector-java-5.1.26/src/com/mysql/jdbc/Driver.java.p0 mysql-con > + throw new SQLFeatureNotSupportedException("Not supported"); > + } > } >-diff -up mysql-connector-java-5.1.26/src/com/mysql/jdbc/jdbc2/optional/CallableStatementWrapper.java.p0 mysql-connector-java-5.1.26/src/com/mysql/jdbc/jdbc2/optional/CallableStatementWrapper.java >---- mysql-connector-java-5.1.26/src/com/mysql/jdbc/jdbc2/optional/CallableStatementWrapper.java.p0 2013-07-24 02:07:01.000000000 +0200 >-+++ mysql-connector-java-5.1.26/src/com/mysql/jdbc/jdbc2/optional/CallableStatementWrapper.java 2013-10-23 10:44:56.698452854 +0200 >-@@ -35,8 +35,12 @@ import java.sql.Blob; >- import java.sql.CallableStatement; >- import java.sql.Clob; >- import java.sql.Date; >-+import java.sql.NClob; >- import java.sql.Ref; >-+import java.sql.RowId; >- import java.sql.SQLException; >-+import java.sql.SQLFeatureNotSupportedException; >-+import java.sql.SQLXML; >- import java.sql.Time; >- import java.sql.Timestamp; >- import java.util.Calendar; >-@@ -2636,4 +2640,169 @@ public class CallableStatementWrapper ex >- // throw SQLError.notImplemented(); >- // } >- >-+ @Override >-+ public <T> T getObject(int parameterIndex, Class<T> type) throws SQLException { >-+ throw new SQLFeatureNotSupportedException("Not supported"); >-+ } >-+ >-+ @Override >-+ public <T> T getObject(String parameterName, Class<T> type) throws SQLException { >-+ throw new SQLFeatureNotSupportedException("Not supported"); >-+ } >-+ >-+ @Override >-+ public void setBlob(String parameterName, InputStream inputStream) throws SQLException { >-+ throw new SQLFeatureNotSupportedException("Not supported"); >-+ } >-+ >-+ @Override >-+ public void setClob(String parameterName, Reader reader) throws SQLException { >-+ throw new SQLFeatureNotSupportedException("Not supported"); >-+ } >-+ >-+ @Override >-+ public void setNCharacterStream(String parameterName, Reader value) throws SQLException{ >-+ throw new SQLFeatureNotSupportedException("Not supported"); >-+ } >-+ >-+ @Override >-+ public void setCharacterStream(String parameterName, java.io.Reader reader) throws SQLException { >-+ throw new SQLFeatureNotSupportedException("Not supported"); >-+ } >-+ >-+ @Override >-+ public void setBinaryStream(String parameterName, java.io.InputStream x) throws SQLException { >-+ throw new SQLFeatureNotSupportedException("Not supported"); >-+ } >-+ >-+ @Override >-+ public void setAsciiStream(String parameterName, java.io.InputStream x) throws SQLException { >-+ throw new SQLFeatureNotSupportedException("Not supported"); >-+ } >-+ >-+ @Override >-+ public void setCharacterStream(String parameterName, java.io.Reader reader, long length) throws SQLException { >-+ throw new SQLFeatureNotSupportedException("Not supported"); >-+ } >-+ >-+ @Override >-+ public void setBinaryStream(String parameterName, java.io.InputStream x, long length) throws SQLException { >-+ throw new SQLFeatureNotSupportedException("Not supported"); >-+ } >-+ >-+ @Override >-+ public void setAsciiStream(String parameterName, java.io.InputStream x, long length) throws SQLException { >-+ throw new SQLFeatureNotSupportedException("Not supported"); >-+ } >-+ >-+ @Override >-+ public void setClob (String parameterName, Clob x) throws SQLException { >-+ throw new SQLFeatureNotSupportedException("Not supported"); >-+ } >-+ >-+ @Override >-+ public void setBlob (String parameterName, Blob x) throws SQLException { >-+ throw new SQLFeatureNotSupportedException("Not supported"); >-+ } >-+ >-+ @Override >-+ public java.io.Reader getCharacterStream(String parameterName) throws SQLException { >-+ throw new SQLFeatureNotSupportedException("Not supported"); >-+ } >-+ >-+ @Override >-+ public java.io.Reader getCharacterStream(int parameterIndex) throws SQLException { >-+ throw new SQLFeatureNotSupportedException("Not supported"); >-+ } >-+ >-+ @Override >-+ public java.io.Reader getNCharacterStream(String parameterName) throws SQLException { >-+ throw new SQLFeatureNotSupportedException("Not supported"); >-+ } >-+ >-+ @Override >-+ public java.io.Reader getNCharacterStream(int parameterIndex) throws SQLException { >-+ throw new SQLFeatureNotSupportedException("Not supported"); >-+ } >-+ >-+ @Override >-+ public String getNString(String parameterName) throws SQLException { >-+ throw new SQLFeatureNotSupportedException("Not supported"); >-+ } >-+ >-+ @Override >-+ public String getNString(int parameterIndex) throws SQLException { >-+ throw new SQLFeatureNotSupportedException("Not supported"); >-+ } >-+ >-+ @Override >-+ public SQLXML getSQLXML(String parameterName) throws SQLException { >-+ throw new SQLFeatureNotSupportedException("Not supported"); >-+ } >-+ >-+ @Override >-+ public SQLXML getSQLXML(int parameterIndex) throws SQLException { >-+ throw new SQLFeatureNotSupportedException("Not supported"); >-+ } >-+ >-+ @Override >-+ public void setSQLXML(String parameterName, SQLXML xmlObject) throws SQLException { >-+ throw new SQLFeatureNotSupportedException("Not supported"); >-+ } >-+ >-+ @Override >-+ public NClob getNClob (String parameterName) throws SQLException { >-+ throw new SQLFeatureNotSupportedException("Not supported"); >-+ } >-+ >-+ @Override >-+ public NClob getNClob (int parameterIndex) throws SQLException { >-+ throw new SQLFeatureNotSupportedException("Not supported"); >-+ } >-+ >-+ @Override >-+ public void setNClob(String parameterName, Reader reader, long length) throws SQLException { >-+ throw new SQLFeatureNotSupportedException("Not supported"); >-+ } >-+ >-+ @Override >-+ public void setBlob(String parameterName, InputStream inputStream, long length) throws SQLException { >-+ throw new SQLFeatureNotSupportedException("Not supported"); >-+ } >-+ >-+ @Override >-+ public void setClob(String parameterName, Reader reader, long length) throws SQLException { >-+ throw new SQLFeatureNotSupportedException("Not supported"); >-+ } >-+ >-+ @Override >-+ public void setNClob(String parameterName, NClob value) throws SQLException { >-+ throw new SQLFeatureNotSupportedException("Not supported"); >-+ } >-+ >-+ @Override >-+ public void setNCharacterStream(String parameterName, Reader value, long length) throws SQLException { >-+ throw new SQLFeatureNotSupportedException("Not supported"); >-+ } >-+ >-+ @Override >-+ public void setNString(String parameterName, String value) throws SQLException { >-+ throw new SQLFeatureNotSupportedException("Not supported"); >-+ } >-+ >-+ @Override >-+ public void setRowId(String parameterName, RowId x) throws SQLException { >-+ throw new SQLFeatureNotSupportedException("Not supported"); >-+ } >-+ >-+ @Override >-+ public RowId getRowId(String parameterName) throws SQLException { >-+ throw new SQLFeatureNotSupportedException("Not supported"); >-+ } >-+ >-+ @Override >-+ public RowId getRowId(int parameterIndex) throws SQLException { >-+ throw new SQLFeatureNotSupportedException("Not supported"); >-+ } >-+ >- } >-diff -up mysql-connector-java-5.1.26/src/com/mysql/jdbc/jdbc2/optional/ConnectionWrapper.java.p0 mysql-connector-java-5.1.26/src/com/mysql/jdbc/jdbc2/optional/ConnectionWrapper.java >---- mysql-connector-java-5.1.26/src/com/mysql/jdbc/jdbc2/optional/ConnectionWrapper.java.p0 2013-07-24 02:07:01.000000000 +0200 >-+++ mysql-connector-java-5.1.26/src/com/mysql/jdbc/jdbc2/optional/ConnectionWrapper.java 2013-10-23 10:44:56.699452852 +0200 >-@@ -26,8 +26,15 @@ >- package com.mysql.jdbc.jdbc2.optional; >- >- import java.lang.reflect.Constructor; >-+import java.sql.Blob; >-+import java.sql.Clob; >-+import java.sql.NClob; >- import java.sql.SQLException; >-+import java.sql.SQLXML; >- import java.sql.Savepoint; >-+import java.sql.SQLClientInfoException; >-+import java.sql.SQLFeatureNotSupportedException; >-+import java.sql.Struct; >- import java.sql.Statement; >- import java.util.Map; >- import java.util.Properties; >-@@ -2845,4 +2852,68 @@ public class ConnectionWrapper extends W >- public String getConnectionAttributes() throws SQLException { >- return this.mc.getConnectionAttributes(); >- } >--} >-\ No newline at end of file >-+ @Override >-+ public Struct createStruct(String typeName, Object[] attributes) throws SQLException { >-+ throw new SQLFeatureNotSupportedException("Not supported"); >-+ } >-+ >-+ @Override >-+ public java.sql.Array createArrayOf(String typeName, Object[] elements) throws SQLException { >-+ throw new SQLFeatureNotSupportedException("Not supported"); >-+ } >-+ >-+ @Override >-+ public String getClientInfo(String name) throws SQLException { >-+ throw new SQLFeatureNotSupportedException("Not supported"); >-+ } >-+ >-+ @Override >-+ public Properties getClientInfo() throws SQLException { >-+ throw new SQLFeatureNotSupportedException("Not supported"); >-+ } >-+ @Override >-+ public void setClientInfo(String name, String value) throws SQLClientInfoException { >-+ //throw new SQLFeatureNotSupportedException("Not supported"); >-+ } >-+ >-+ @Override >-+ public void setClientInfo(Properties properties) throws SQLClientInfoException { >-+ //throw new SQLFeatureNotSupportedException("Not supported"); >-+ } >-+ >-+ @Override >-+ public boolean isValid(int timeout) throws SQLException { >-+ throw new SQLFeatureNotSupportedException("Not supported"); >-+ } >-+ >-+ @Override >-+ public SQLXML createSQLXML() throws SQLException { >-+ throw new SQLFeatureNotSupportedException("Not supported"); >-+ } >-+ >-+ @Override >-+ public NClob createNClob() throws SQLException { >-+ throw new SQLFeatureNotSupportedException("Not supported"); >-+ } >-+ >-+ @Override >-+ public Blob createBlob() throws SQLException { >-+ throw new SQLFeatureNotSupportedException("Not supported"); >-+ } >-+ >-+ @Override >-+ public Clob createClob() throws SQLException { >-+ throw new SQLFeatureNotSupportedException("Not supported"); >-+ } >-+ >-+ @Override >-+ public boolean isWrapperFor(java.lang.Class<?> iface) throws java.sql.SQLException { >-+ throw new SQLFeatureNotSupportedException("Not supported"); >-+ } >-+ >-+ @Override >-+ public <T> T unwrap(java.lang.Class<T> iface) throws java.sql.SQLException { >-+ throw new SQLFeatureNotSupportedException("Not supported"); >-+ } >-+ >-+} >-diff -up mysql-connector-java-5.1.26/src/com/mysql/jdbc/jdbc2/optional/MysqlDataSource.java.p0 mysql-connector-java-5.1.26/src/com/mysql/jdbc/jdbc2/optional/MysqlDataSource.java >---- mysql-connector-java-5.1.26/src/com/mysql/jdbc/jdbc2/optional/MysqlDataSource.java.p0 2013-07-24 02:07:01.000000000 +0200 >-+++ mysql-connector-java-5.1.26/src/com/mysql/jdbc/jdbc2/optional/MysqlDataSource.java 2013-10-23 10:44:56.699452852 +0200 >-@@ -28,8 +28,10 @@ package com.mysql.jdbc.jdbc2.optional; >- import java.io.PrintWriter; >- import java.io.Serializable; >- import java.sql.SQLException; >-+import java.sql.SQLFeatureNotSupportedException; >- import java.util.Iterator; >- import java.util.Properties; >-+import java.util.logging.Logger; >- >- import javax.naming.NamingException; >- import javax.naming.Reference; >-@@ -450,4 +452,19 @@ public class MysqlDataSource extends Con >- // public <T> T unwrap(Class<T> iface) throws SQLException { >- // throw SQLError.notImplemented(); >- // } >-+ >-+ @Override >-+ public Logger getParentLogger() throws SQLFeatureNotSupportedException { >-+ throw new SQLFeatureNotSupportedException("Not supported"); >-+ } >-+ >-+ @Override >-+ public <T> T unwrap(java.lang.Class<T> iface) throws java.sql.SQLException { >-+ throw new SQLFeatureNotSupportedException("Not supported"); >-+ } >-+ >-+ @Override >-+ public boolean isWrapperFor(java.lang.Class<?> iface) throws java.sql.SQLException { >-+ throw new SQLFeatureNotSupportedException("Not supported"); >-+ } >- } >-diff -up mysql-connector-java-5.1.26/src/com/mysql/jdbc/jdbc2/optional/MysqlPooledConnection.java.p0 mysql-connector-java-5.1.26/src/com/mysql/jdbc/jdbc2/optional/MysqlPooledConnection.java >---- mysql-connector-java-5.1.26/src/com/mysql/jdbc/jdbc2/optional/MysqlPooledConnection.java.p0 2013-07-24 02:07:01.000000000 +0200 >-+++ mysql-connector-java-5.1.26/src/com/mysql/jdbc/jdbc2/optional/MysqlPooledConnection.java 2013-10-23 10:44:56.700452849 +0200 >-@@ -27,6 +27,7 @@ package com.mysql.jdbc.jdbc2.optional; >- import java.lang.reflect.Constructor; >- import java.sql.Connection; >- import java.sql.SQLException; >-+import java.sql.SQLFeatureNotSupportedException; >- import java.util.HashMap; >- import java.util.Iterator; >- import java.util.Map; >-@@ -34,6 +35,7 @@ import java.util.Map; >- import javax.sql.ConnectionEvent; >- import javax.sql.ConnectionEventListener; >- import javax.sql.PooledConnection; >-+import javax.sql.StatementEventListener; >- >- import com.mysql.jdbc.ExceptionInterceptor; >- import com.mysql.jdbc.SQLError; >-@@ -254,4 +256,13 @@ public class MysqlPooledConnection imple >- protected ExceptionInterceptor getExceptionInterceptor() { >- return this.exceptionInterceptor; >- } >--} >-\ No newline at end of file >-+ >-+ @Override >-+ public void addStatementEventListener(StatementEventListener listener) { >-+ } >-+ >-+ @Override >-+ public void removeStatementEventListener(StatementEventListener listener) { >-+ } >-+ >-+} >-diff -up mysql-connector-java-5.1.26/src/com/mysql/jdbc/jdbc2/optional/PreparedStatementWrapper.java.p0 mysql-connector-java-5.1.26/src/com/mysql/jdbc/jdbc2/optional/PreparedStatementWrapper.java >---- mysql-connector-java-5.1.26/src/com/mysql/jdbc/jdbc2/optional/PreparedStatementWrapper.java.p0 2013-07-24 02:07:01.000000000 +0200 >-+++ mysql-connector-java-5.1.26/src/com/mysql/jdbc/jdbc2/optional/PreparedStatementWrapper.java 2013-10-23 10:44:56.700452849 +0200 >-@@ -34,12 +34,16 @@ import java.sql.Array; >- import java.sql.Blob; >- import java.sql.Clob; >- import java.sql.Date; >-+import java.sql.NClob; >- import java.sql.ParameterMetaData; >- import java.sql.PreparedStatement; >- import java.sql.Ref; >- import java.sql.ResultSet; >- import java.sql.ResultSetMetaData; >-+import java.sql.RowId; >- import java.sql.SQLException; >-+import java.sql.SQLFeatureNotSupportedException; >-+import java.sql.SQLXML; >- import java.sql.Time; >- import java.sql.Timestamp; >- import java.util.Calendar; >-@@ -1240,4 +1244,107 @@ public class PreparedStatementWrapper ex >- // public Object unwrap(Class arg0) throws SQLException { >- // throw SQLError.notImplemented(); >- // } >-+ >-+ public void setNClob(String parameterName, NClob value) throws SQLException { >-+ throw new SQLFeatureNotSupportedException("Not supported"); >-+ } >-+ >-+ public void setNClob(String parameterName, Reader reader, long length) throws SQLException { >-+ throw new SQLFeatureNotSupportedException("Not supported"); >-+ } >-+ >-+ public void setNClob(String parameterName, Reader reader) throws SQLException { >-+ throw new SQLFeatureNotSupportedException("Not supported"); >-+ } >-+ >-+ @Override >-+ public void setNClob(int parameterName, NClob value) throws SQLException { >-+ throw new SQLFeatureNotSupportedException("Not supported"); >-+ } >-+ >-+ @Override >-+ public void setNClob(int parameterName, Reader reader, long length) throws SQLException { >-+ throw new SQLFeatureNotSupportedException("Not supported"); >-+ } >-+ >-+ @Override >-+ public void setNClob(int parameterName, Reader reader) throws SQLException { >-+ throw new SQLFeatureNotSupportedException("Not supported"); >-+ } >-+ >-+ @Override >-+ public void setBlob(int parameterIndex, InputStream inputStream) throws SQLException { >-+ throw new SQLFeatureNotSupportedException("Not supported"); >-+ } >-+ >-+ @Override >-+ public void setClob(int parameterIndex, Reader reader) throws SQLException{ >-+ throw new SQLFeatureNotSupportedException("Not supported"); >-+ } >-+ >-+ @Override >-+ public void setNCharacterStream(int parameterIndex, Reader value) throws SQLException{ >-+ throw new SQLFeatureNotSupportedException("Not supported"); >-+ } >-+ >-+ @Override >-+ public void setCharacterStream(int parameterIndex, java.io.Reader reader) throws SQLException { >-+ throw new SQLFeatureNotSupportedException("Not supported"); >-+ } >-+ >-+ @Override >-+ public void setBinaryStream(int parameterIndex, java.io.InputStream x) throws SQLException { >-+ throw new SQLFeatureNotSupportedException("Not supported"); >-+ } >-+ >-+ @Override >-+ public void setAsciiStream(int parameterIndex, java.io.InputStream x) throws SQLException{ >-+ throw new SQLFeatureNotSupportedException("Not supported"); >-+ } >-+ >-+ @Override >-+ public void setCharacterStream(int parameterIndex, java.io.Reader reader, long length) throws SQLException{ >-+ throw new SQLFeatureNotSupportedException("Not supported"); >-+ } >-+ >-+ @Override >-+ public void setBinaryStream(int parameterIndex, java.io.InputStream x, long length) throws SQLException { >-+ throw new SQLFeatureNotSupportedException("Not supported"); >-+ } >-+ >-+ @Override >-+ public void setAsciiStream(int parameterIndex, java.io.InputStream x, long length) throws SQLException { >-+ throw new SQLFeatureNotSupportedException("Not supported"); >-+ } >-+ >-+ @Override >-+ public void setSQLXML(int parameterIndex, SQLXML xmlObject) throws SQLException { >-+ throw new SQLFeatureNotSupportedException("Not supported"); >-+ } >-+ >-+ @Override >-+ public void setBlob(int parameterIndex, InputStream inputStream, long length) throws SQLException{ >-+ throw new SQLFeatureNotSupportedException("Not supported"); >-+ } >-+ >-+ @Override >-+ public void setClob(int parameterIndex, Reader reader, long length) throws SQLException { >-+ throw new SQLFeatureNotSupportedException("Not supported"); >-+ } >-+ >-+ @Override >-+ public void setNCharacterStream(int parameterIndex, Reader value, long length) throws SQLException { >-+ throw new SQLFeatureNotSupportedException("Not supported"); >-+ } >-+ >-+ @Override >-+ public void setNString(int parameterIndex, String value) throws SQLException{ >-+ throw new SQLFeatureNotSupportedException("Not supported"); >-+ } >-+ >-+ @Override >-+ public void setRowId(int parameterIndex, RowId x) throws SQLException { >-+ throw new SQLFeatureNotSupportedException("Not supported"); >-+ } >-+ >- } >-diff -up mysql-connector-java-5.1.26/src/com/mysql/jdbc/jdbc2/optional/StatementWrapper.java.p0 mysql-connector-java-5.1.26/src/com/mysql/jdbc/jdbc2/optional/StatementWrapper.java >---- mysql-connector-java-5.1.26/src/com/mysql/jdbc/jdbc2/optional/StatementWrapper.java.p0 2013-07-24 02:07:01.000000000 +0200 >-+++ mysql-connector-java-5.1.26/src/com/mysql/jdbc/jdbc2/optional/StatementWrapper.java 2013-10-23 10:44:56.701452847 +0200 >-@@ -29,6 +29,7 @@ import java.lang.reflect.Constructor; >- import java.sql.Connection; >- import java.sql.ResultSet; >- import java.sql.SQLException; >-+import java.sql.SQLFeatureNotSupportedException; >- import java.sql.SQLWarning; >- import java.sql.Statement; >- >-@@ -866,4 +867,41 @@ public class StatementWrapper extends Wr >- checkAndFireConnectionError(sqlEx); >- } >- } >-+ >-+ @Override >-+ public boolean isCloseOnCompletion() throws SQLException { >-+ throw new SQLFeatureNotSupportedException("Not supported"); >-+ } >-+ >-+ @Override >-+ public void closeOnCompletion() throws SQLException { >-+ throw new SQLFeatureNotSupportedException("Not supported"); >-+ } >-+ >-+ @Override >-+ public boolean isPoolable() throws SQLException{ >-+ throw new SQLFeatureNotSupportedException("Not supported"); >-+ } >-+ >-+ @Override >-+ public void setPoolable(boolean poolable) throws SQLException{ >-+ throw new SQLFeatureNotSupportedException("Not supported"); >-+ } >-+ >-+ @Override >-+ public boolean isClosed() throws SQLException{ >-+ throw new SQLFeatureNotSupportedException("Not supported"); >-+ } >-+ >-+ @Override >-+ public boolean isWrapperFor(java.lang.Class<?> iface) throws java.sql.SQLException { >-+ throw new SQLFeatureNotSupportedException("Not supported"); >-+ } >-+ >-+ @Override >-+ public <T> T unwrap(java.lang.Class<T> iface) throws java.sql.SQLException { >-+ throw new SQLFeatureNotSupportedException("Not supported"); >-+ } >-+ >-+ >- } >-diff -up mysql-connector-java-5.1.26/src/com/mysql/jdbc/JDBC4Connection.java.p0 mysql-connector-java-5.1.26/src/com/mysql/jdbc/JDBC4Connection.java >---- mysql-connector-java-5.1.26/src/com/mysql/jdbc/JDBC4Connection.java.p0 2013-07-24 02:07:01.000000000 +0200 >-+++ mysql-connector-java-5.1.26/src/com/mysql/jdbc/JDBC4Connection.java 2013-10-23 10:44:56.701452847 +0200 >+diff -up --recursive mysql-connector-java-5.1.28.orig/src/com/mysql/jdbc/JDBC4Connection.java mysql-connector-java-5.1.28/src/com/mysql/jdbc/JDBC4Connection.java >+--- mysql-connector-java-5.1.28.orig/src/com/mysql/jdbc/JDBC4Connection.java 2013-11-28 08:39:32.000000000 +0100 >++++ mysql-connector-java-5.1.28/src/com/mysql/jdbc/JDBC4Connection.java 2014-01-23 15:09:10.980010180 +0100 > @@ -28,9 +28,11 @@ import java.sql.Blob; > import java.sql.Clob; > import java.sql.SQLClientInfoException; >@@ -856,9 +332,9 @@ diff -up mysql-connector-java-5.1.26/src/com/mysql/jdbc/JDBC4Connection.java.p0 > + } > + > } >-diff -up mysql-connector-java-5.1.26/src/com/mysql/jdbc/JDBC4LoadBalancedMySQLConnection.java.p0 mysql-connector-java-5.1.26/src/com/mysql/jdbc/JDBC4LoadBalancedMySQLConnection.java >---- mysql-connector-java-5.1.26/src/com/mysql/jdbc/JDBC4LoadBalancedMySQLConnection.java.p0 2013-07-24 02:07:01.000000000 +0200 >-+++ mysql-connector-java-5.1.26/src/com/mysql/jdbc/JDBC4LoadBalancedMySQLConnection.java 2013-10-23 10:44:56.701452847 +0200 >+diff -up --recursive mysql-connector-java-5.1.28.orig/src/com/mysql/jdbc/JDBC4LoadBalancedMySQLConnection.java mysql-connector-java-5.1.28/src/com/mysql/jdbc/JDBC4LoadBalancedMySQLConnection.java >+--- mysql-connector-java-5.1.28.orig/src/com/mysql/jdbc/JDBC4LoadBalancedMySQLConnection.java 2013-11-28 08:39:32.000000000 +0100 >++++ mysql-connector-java-5.1.28/src/com/mysql/jdbc/JDBC4LoadBalancedMySQLConnection.java 2014-01-23 15:09:10.980010180 +0100 > @@ -29,9 +29,11 @@ import java.sql.Blob; > import java.sql.Clob; > import java.sql.SQLClientInfoException; >@@ -926,9 +402,9 @@ diff -up mysql-connector-java-5.1.26/src/com/mysql/jdbc/JDBC4LoadBalancedMySQLCo > > > } >-diff -up mysql-connector-java-5.1.26/src/com/mysql/jdbc/JDBC4MySQLConnection.java.p0 mysql-connector-java-5.1.26/src/com/mysql/jdbc/JDBC4MySQLConnection.java >---- mysql-connector-java-5.1.26/src/com/mysql/jdbc/JDBC4MySQLConnection.java.p0 2013-07-24 02:07:01.000000000 +0200 >-+++ mysql-connector-java-5.1.26/src/com/mysql/jdbc/JDBC4MySQLConnection.java 2013-10-23 10:44:56.701452847 +0200 >+diff -up --recursive mysql-connector-java-5.1.28.orig/src/com/mysql/jdbc/JDBC4MySQLConnection.java mysql-connector-java-5.1.28/src/com/mysql/jdbc/JDBC4MySQLConnection.java >+--- mysql-connector-java-5.1.28.orig/src/com/mysql/jdbc/JDBC4MySQLConnection.java 2013-11-28 08:39:32.000000000 +0100 >++++ mysql-connector-java-5.1.28/src/com/mysql/jdbc/JDBC4MySQLConnection.java 2014-01-23 15:09:10.980010180 +0100 > @@ -63,11 +63,14 @@ public interface JDBC4MySQLConnection ex > > public <T> T unwrap(java.lang.Class<T> iface) throws java.sql.SQLException; >@@ -947,9 +423,9 @@ diff -up mysql-connector-java-5.1.26/src/com/mysql/jdbc/JDBC4MySQLConnection.jav > > > } >-diff -up mysql-connector-java-5.1.26/src/com/mysql/jdbc/LoadBalancedMySQLConnection.java.p0 mysql-connector-java-5.1.26/src/com/mysql/jdbc/LoadBalancedMySQLConnection.java >---- mysql-connector-java-5.1.26/src/com/mysql/jdbc/LoadBalancedMySQLConnection.java.p0 2013-07-24 02:07:01.000000000 +0200 >-+++ mysql-connector-java-5.1.26/src/com/mysql/jdbc/LoadBalancedMySQLConnection.java 2013-10-23 10:44:56.702452845 +0200 >+diff -up --recursive mysql-connector-java-5.1.28.orig/src/com/mysql/jdbc/LoadBalancedMySQLConnection.java mysql-connector-java-5.1.28/src/com/mysql/jdbc/LoadBalancedMySQLConnection.java >+--- mysql-connector-java-5.1.28.orig/src/com/mysql/jdbc/LoadBalancedMySQLConnection.java 2013-11-28 08:39:32.000000000 +0100 >++++ mysql-connector-java-5.1.28/src/com/mysql/jdbc/LoadBalancedMySQLConnection.java 2014-01-23 15:09:10.981010180 +0100 > @@ -29,6 +29,14 @@ import java.sql.SQLException; > import java.sql.SQLWarning; > import java.sql.Savepoint; >@@ -1028,9 +504,9 @@ diff -up mysql-connector-java-5.1.26/src/com/mysql/jdbc/LoadBalancedMySQLConnect > } > > public void setParseInfoCacheFactory(String factoryClassname) { >-@@ -2643,4 +2651,66 @@ public class LoadBalancedMySQLConnection >- public String getConnectionAttributes() throws SQLException { >- return getActiveMySQLConnection().getConnectionAttributes(); >+@@ -2673,4 +2681,66 @@ public class LoadBalancedMySQLConnection >+ // nothing to do here. >+ > } > + > + @Override >@@ -1095,9 +571,10 @@ diff -up mysql-connector-java-5.1.26/src/com/mysql/jdbc/LoadBalancedMySQLConnect > + } > + > } >-diff -up mysql-connector-java-5.1.26/src/com/mysql/jdbc/MysqlParameterMetadata.java.p0 mysql-connector-java-5.1.26/src/com/mysql/jdbc/MysqlParameterMetadata.java >---- mysql-connector-java-5.1.26/src/com/mysql/jdbc/MysqlParameterMetadata.java.p0 2013-07-24 02:07:01.000000000 +0200 >-+++ mysql-connector-java-5.1.26/src/com/mysql/jdbc/MysqlParameterMetadata.java 2013-10-23 10:44:56.703452842 +0200 >+Only in mysql-connector-java-5.1.28/src/com/mysql/jdbc: LoadBalancedMySQLConnection.java.orig >+diff -up --recursive mysql-connector-java-5.1.28.orig/src/com/mysql/jdbc/MysqlParameterMetadata.java mysql-connector-java-5.1.28/src/com/mysql/jdbc/MysqlParameterMetadata.java >+--- mysql-connector-java-5.1.28.orig/src/com/mysql/jdbc/MysqlParameterMetadata.java 2013-11-28 08:39:32.000000000 +0100 >++++ mysql-connector-java-5.1.28/src/com/mysql/jdbc/MysqlParameterMetadata.java 2014-01-23 15:09:10.981010180 +0100 > @@ -26,6 +26,7 @@ package com.mysql.jdbc; > > import java.sql.ParameterMetaData; >@@ -1120,18 +597,18 @@ diff -up mysql-connector-java-5.1.26/src/com/mysql/jdbc/MysqlParameterMetadata.j > } catch (ClassCastException cce) { > throw SQLError.createSQLException("Unable to unwrap to " + iface.toString(), > SQLError.SQL_STATE_ILLEGAL_ARGUMENT, this.exceptionInterceptor); >-diff -up mysql-connector-java-5.1.26/src/com/mysql/jdbc/NonRegisteringDriver.java.p0 mysql-connector-java-5.1.26/src/com/mysql/jdbc/NonRegisteringDriver.java >---- mysql-connector-java-5.1.26/src/com/mysql/jdbc/NonRegisteringDriver.java.p0 2013-07-24 02:07:01.000000000 +0200 >-+++ mysql-connector-java-5.1.26/src/com/mysql/jdbc/NonRegisteringDriver.java 2013-10-23 10:44:56.703452842 +0200 >+diff -up --recursive mysql-connector-java-5.1.28.orig/src/com/mysql/jdbc/NonRegisteringDriver.java mysql-connector-java-5.1.28/src/com/mysql/jdbc/NonRegisteringDriver.java >+--- mysql-connector-java-5.1.28.orig/src/com/mysql/jdbc/NonRegisteringDriver.java 2013-11-28 08:39:32.000000000 +0100 >++++ mysql-connector-java-5.1.28/src/com/mysql/jdbc/NonRegisteringDriver.java 2014-01-23 15:09:10.981010180 +0100 > @@ -33,6 +33,7 @@ import java.lang.ref.ReferenceQueue; > import java.net.URLDecoder; > import java.sql.DriverPropertyInfo; > import java.sql.SQLException; > +import java.sql.SQLFeatureNotSupportedException; > import java.util.ArrayList; >+ import java.util.Enumeration; > import java.util.Iterator; >- import java.util.List; >-@@ -40,6 +41,9 @@ import java.util.Locale; >+@@ -41,6 +42,9 @@ import java.util.Locale; > import java.util.Properties; > import java.util.StringTokenizer; > import java.util.concurrent.ConcurrentHashMap; >@@ -1141,7 +618,7 @@ diff -up mysql-connector-java-5.1.26/src/com/mysql/jdbc/NonRegisteringDriver.jav > /** > * The Java SQL framework allows for multiple database drivers. Each driver > * should supply a class that implements the Driver interface >-@@ -966,4 +970,9 @@ public class NonRegisteringDriver implem >+@@ -1004,4 +1008,9 @@ public class NonRegisteringDriver implem > } > } > } >@@ -1151,9 +628,10 @@ diff -up mysql-connector-java-5.1.26/src/com/mysql/jdbc/NonRegisteringDriver.jav > + throw new SQLFeatureNotSupportedException("Not supported"); > + } > } >-diff -up mysql-connector-java-5.1.26/src/com/mysql/jdbc/PreparedStatement.java.p0 mysql-connector-java-5.1.26/src/com/mysql/jdbc/PreparedStatement.java >---- mysql-connector-java-5.1.26/src/com/mysql/jdbc/PreparedStatement.java.p0 2013-07-24 02:07:01.000000000 +0200 >-+++ mysql-connector-java-5.1.26/src/com/mysql/jdbc/PreparedStatement.java 2013-10-23 10:44:56.705452837 +0200 >+Only in mysql-connector-java-5.1.28/src/com/mysql/jdbc: NonRegisteringDriver.java.orig >+diff -up --recursive mysql-connector-java-5.1.28.orig/src/com/mysql/jdbc/PreparedStatement.java mysql-connector-java-5.1.28/src/com/mysql/jdbc/PreparedStatement.java >+--- mysql-connector-java-5.1.28.orig/src/com/mysql/jdbc/PreparedStatement.java 2013-11-28 08:39:32.000000000 +0100 >++++ mysql-connector-java-5.1.28/src/com/mysql/jdbc/PreparedStatement.java 2014-01-23 15:09:10.982010180 +0100 > @@ -40,6 +40,7 @@ import java.nio.charset.Charset; > import java.nio.charset.CharsetEncoder; > import java.sql.Array; >@@ -1172,7 +650,7 @@ diff -up mysql-connector-java-5.1.26/src/com/mysql/jdbc/PreparedStatement.java.p > import java.text.ParsePosition; > import java.text.SimpleDateFormat; > import java.util.ArrayList; >-@@ -5759,4 +5763,20 @@ public class PreparedStatement extends c >+@@ -5740,4 +5744,20 @@ public class PreparedStatement extends c > statementStartPos, sql, "SELECT", "\"'`", > "\"'`", false) == -1 && rewritableOdku; > } >@@ -1181,21 +659,22 @@ diff -up mysql-connector-java-5.1.26/src/com/mysql/jdbc/PreparedStatement.java.p > + public void setSQLXML(int parameterIndex, SQLXML xmlObject) throws SQLException{ > + throw new SQLFeatureNotSupportedException("Not supported"); > + } >-+ >++ > + @Override > + public void setNClob(int parameterIndex, NClob value) throws SQLException { > + throw new SQLFeatureNotSupportedException("Not supported"); > + } >-+ >++ > + @Override > + public void setRowId(int parameterIndex, RowId x) throws SQLException { > + throw new SQLFeatureNotSupportedException("Not supported"); > + } > + > } >-diff -up mysql-connector-java-5.1.26/src/com/mysql/jdbc/ReplicationConnection.java.p0 mysql-connector-java-5.1.26/src/com/mysql/jdbc/ReplicationConnection.java >---- mysql-connector-java-5.1.26/src/com/mysql/jdbc/ReplicationConnection.java.p0 2013-07-24 02:07:01.000000000 +0200 >-+++ mysql-connector-java-5.1.26/src/com/mysql/jdbc/ReplicationConnection.java 2013-10-23 10:44:56.705452837 +0200 >+Only in mysql-connector-java-5.1.28/src/com/mysql/jdbc: PreparedStatement.java.orig >+diff -up --recursive mysql-connector-java-5.1.28.orig/src/com/mysql/jdbc/ReplicationConnection.java mysql-connector-java-5.1.28/src/com/mysql/jdbc/ReplicationConnection.java >+--- mysql-connector-java-5.1.28.orig/src/com/mysql/jdbc/ReplicationConnection.java 2013-11-28 08:39:32.000000000 +0100 >++++ mysql-connector-java-5.1.28/src/com/mysql/jdbc/ReplicationConnection.java 2014-01-23 15:09:10.983010179 +0100 > @@ -21,6 +21,12 @@ > */ > package com.mysql.jdbc; >@@ -1209,77 +688,78 @@ diff -up mysql-connector-java-5.1.26/src/com/mysql/jdbc/ReplicationConnection.ja > import java.sql.CallableStatement; > import java.sql.DatabaseMetaData; > import java.sql.PreparedStatement; >-@@ -2707,4 +2713,67 @@ public class ReplicationConnection imple >+@@ -2970,4 +2976,67 @@ public class ReplicationConnection imple > public String getConnectionAttributes() throws SQLException { > return getCurrentConnection().getConnectionAttributes(); > } >-+ >++ > + @Override > + public Struct createStruct(String typeName, Object[] attributes) throws SQLException { > + throw new SQLFeatureNotSupportedException("Not supported"); > + } >-+ >++ > + @Override > + public java.sql.Array createArrayOf(String typeName, Object[] elements) throws SQLException { > + throw new SQLFeatureNotSupportedException("Not supported"); > + } >-+ >++ > + @Override > + public String getClientInfo(String name) throws SQLException { > + throw new SQLFeatureNotSupportedException("Not supported"); > + } >-+ >++ > + @Override > + public Properties getClientInfo() throws SQLException { > + throw new SQLFeatureNotSupportedException("Not supported"); > + } >-+ >++ > + @Override > + public void setClientInfo(String name, String value) throws SQLClientInfoException { > + } >-+ >++ > + @Override > + public void setClientInfo(Properties properties) throws SQLClientInfoException { > + } >-+ >++ > + @Override > + public boolean isValid(int timeout) throws SQLException { > + throw new SQLFeatureNotSupportedException("Not supported"); > + } >-+ >++ > + @Override > + public SQLXML createSQLXML() throws SQLException { > + throw new SQLFeatureNotSupportedException("Not supported"); > + } >-+ >++ > + @Override > + public NClob createNClob() throws SQLException { > + throw new SQLFeatureNotSupportedException("Not supported"); > + } >-+ >++ > + @Override > + public Blob createBlob() throws SQLException { > + throw new SQLFeatureNotSupportedException("Not supported"); > + } >-+ >++ > + @Override > + public Clob createClob() throws SQLException { > + throw new SQLFeatureNotSupportedException("Not supported"); > + } >-+ >++ > + @Override > + public boolean isWrapperFor(java.lang.Class<?> iface) throws java.sql.SQLException { > + throw new SQLFeatureNotSupportedException("Not supported"); > + } >-+ >++ > + @Override > + public <T> T unwrap(java.lang.Class<T> iface) throws java.sql.SQLException { > + throw new SQLFeatureNotSupportedException("Not supported"); > + } > } >-diff -up mysql-connector-java-5.1.26/src/com/mysql/jdbc/ResultSetImpl.java.p0 mysql-connector-java-5.1.26/src/com/mysql/jdbc/ResultSetImpl.java >---- mysql-connector-java-5.1.26/src/com/mysql/jdbc/ResultSetImpl.java.p0 2013-07-24 02:07:01.000000000 +0200 >-+++ mysql-connector-java-5.1.26/src/com/mysql/jdbc/ResultSetImpl.java 2013-10-23 10:44:56.707452833 +0200 >+Only in mysql-connector-java-5.1.28/src/com/mysql/jdbc: ReplicationConnection.java.orig >+diff -up --recursive mysql-connector-java-5.1.28.orig/src/com/mysql/jdbc/ResultSetImpl.java mysql-connector-java-5.1.28/src/com/mysql/jdbc/ResultSetImpl.java >+--- mysql-connector-java-5.1.28.orig/src/com/mysql/jdbc/ResultSetImpl.java 2013-11-28 08:39:32.000000000 +0100 >++++ mysql-connector-java-5.1.28/src/com/mysql/jdbc/ResultSetImpl.java 2014-01-23 15:09:10.984010179 +0100 > @@ -29,6 +29,7 @@ import java.io.ByteArrayInputStream; > import java.io.IOException; > import java.io.InputStream; >@@ -1302,7 +782,7 @@ diff -up mysql-connector-java-5.1.26/src/com/mysql/jdbc/ResultSetImpl.java.p0 my > import java.sql.Time; > import java.sql.Timestamp; > import java.sql.Types; >-@@ -8747,4 +8752,258 @@ public class ResultSetImpl implements Re >+@@ -8752,4 +8757,250 @@ public class ResultSetImpl implements Re > protected ExceptionInterceptor getExceptionInterceptor() { > return this.exceptionInterceptor; > } >@@ -1311,333 +791,848 @@ diff -up mysql-connector-java-5.1.26/src/com/mysql/jdbc/ResultSetImpl.java.p0 my > + public void updateNClob(int columnIndex, NClob nClob) throws SQLException { > + throw new SQLFeatureNotSupportedException("Not supported"); > + } >-+ >++ > + @Override > + public void updateNClob(String columnLabel, Reader reader) throws SQLException { > + throw new SQLFeatureNotSupportedException("Not supported"); > + } >-+ >++ > + @Override > + public void updateNClob(int columnIndex, Reader reader, long length) throws SQLException { > + throw new SQLFeatureNotSupportedException("Not supported"); > + } >-+ >++ > + @Override > + public void updateNClob(String columnLabel, Reader reader, long length) throws SQLException { > + throw new SQLFeatureNotSupportedException("Not supported"); > + } >-+ >++ > + @Override > + public void updateNClob(int columnIndex, Reader reader) throws SQLException { > + throw new SQLFeatureNotSupportedException("Not supported"); > + } >-+ >++ > + @Override > + public void updateClob(int columnIndex, Reader reader) throws SQLException { > + throw new SQLFeatureNotSupportedException("Not supported"); > + } >-+ >++ > + @Override > + public void updateClob(String columnLabel, Reader reader) throws SQLException { > + throw new SQLFeatureNotSupportedException("Not supported"); > + } >-+ >++ > + @Override > + public void updateClob(int columnIndex, Reader reader, long length) throws SQLException { > + throw new SQLFeatureNotSupportedException("Not supported"); > + } >-+ >++ > + @Override > + public void updateClob(String columnLabel, Reader reader, long length) throws SQLException { > + throw new SQLFeatureNotSupportedException("Not supported"); > + } >-+ >++ > + @Override > + public void updateBlob(int columnIndex, InputStream inputStream) throws SQLException { > + throw new SQLFeatureNotSupportedException("Not supported"); > + } >-+ >++ > + @Override > + public void updateBlob(String columnLabel, InputStream inputStream) throws SQLException { > + throw new SQLFeatureNotSupportedException("Not supported"); > + } >-+ >++ > + @Override > + public void updateCharacterStream(String columnLabel, java.io.Reader reader) throws SQLException { > + throw new SQLFeatureNotSupportedException("Not supported"); > + } >-+ >++ > + @Override > + public void updateBinaryStream(String columnLabel, java.io.InputStream x) throws SQLException { > + throw new SQLFeatureNotSupportedException("Not supported"); > + } >-+ >++ > + @Override > + public void updateAsciiStream(String columnLabel, java.io.InputStream x) throws SQLException { > + throw new SQLFeatureNotSupportedException("Not supported"); > + } >-+ >++ >++ @Override >++ public void updateCharacterStream(int columnIndex, java.io.Reader x) throws SQLException { >++ throw new SQLFeatureNotSupportedException("Not supported"); >++ } >++ >++ @Override >++ public void updateBinaryStream(int columnIndex, java.io.InputStream x) throws SQLException { >++ throw new SQLFeatureNotSupportedException("Not supported"); >++ } >++ >++ @Override >++ public void updateAsciiStream(int columnIndex, java.io.InputStream x) throws SQLException { >++ throw new SQLFeatureNotSupportedException("Not supported"); >++ } >++ >++ @Override >++ public void updateNCharacterStream(String columnLabel, java.io.Reader reader) throws SQLException { >++ throw new SQLFeatureNotSupportedException("Not supported"); >++ } >++ >++ @Override >++ public void updateNCharacterStream(int columnIndex, java.io.Reader x) throws SQLException { >++ throw new SQLFeatureNotSupportedException("Not supported"); >++ } >++ >++ @Override >++ public void updateBlob(int columnIndex, InputStream inputStream, long length) throws SQLException { >++ throw new SQLFeatureNotSupportedException("Not supported"); >++ } >++ >++ @Override >++ public void updateBlob(String columnLabel, InputStream inputStream, long length) throws SQLException { >++ throw new SQLFeatureNotSupportedException("Not supported"); >++ } >++ >++ @Override >++ public void updateCharacterStream(String columnLabel, java.io.Reader reader, long length) throws SQLException { >++ throw new SQLFeatureNotSupportedException("Not supported"); >++ } >++ >++ @Override >++ public void updateBinaryStream(String columnLabel, java.io.InputStream x, long length) throws SQLException { >++ throw new SQLFeatureNotSupportedException("Not supported"); >++ } >++ >++ @Override >++ public void updateAsciiStream(String columnLabel, java.io.InputStream x, long length) throws SQLException { >++ throw new SQLFeatureNotSupportedException("Not supported"); >++ } >++ >++ @Override >++ public void updateCharacterStream(int columnIndex, java.io.Reader x, long length) throws SQLException { >++ throw new SQLFeatureNotSupportedException("Not supported"); >++ } >++ >++ @Override >++ public void updateBinaryStream(int columnIndex, java.io.InputStream x, long length) throws SQLException { >++ throw new SQLFeatureNotSupportedException("Not supported"); >++ } >++ >++ @Override >++ public void updateAsciiStream(int columnIndex, java.io.InputStream x, long length) throws SQLException { >++ throw new SQLFeatureNotSupportedException("Not supported"); >++ } >++ >++ @Override >++ public void updateNCharacterStream(String columnLabel, java.io.Reader reader, long length) throws SQLException { >++ throw new SQLFeatureNotSupportedException("Not supported"); >++ } >++ >++ @Override >++ public void updateNCharacterStream(int columnIndex, java.io.Reader x, long length) throws SQLException { >++ throw new SQLFeatureNotSupportedException("Not supported"); >++ } >++ >++ @Override >++ public java.io.Reader getNCharacterStream(int columnIndex) throws SQLException { >++ throw new SQLFeatureNotSupportedException("Not supported"); >++ } >++ >++ @Override >++ public java.io.Reader getNCharacterStream(String columnIndex) throws SQLException { >++ throw new SQLFeatureNotSupportedException("Not supported"); >++ } >++ >++ @Override >++ public String getNString(int columnIndex) throws SQLException { >++ throw new SQLFeatureNotSupportedException("Not supported"); >++ } >++ >++ @Override >++ public String getNString(String columnIndex) throws SQLException { >++ throw new SQLFeatureNotSupportedException("Not supported"); >++ } >++ >++ @Override >++ public void updateSQLXML(int columnIndex, SQLXML xmlObject) throws SQLException { >++ throw new SQLFeatureNotSupportedException("Not supported"); >++ } >++ >++ @Override >++ public void updateSQLXML(String columnLabel, SQLXML xmlObject) throws SQLException { >++ throw new SQLFeatureNotSupportedException("Not supported"); >++ } >++ >++ @Override >++ public SQLXML getSQLXML(int columnIndex) throws SQLException { >++ throw new SQLFeatureNotSupportedException("Not supported"); >++ } >++ >++ @Override >++ public SQLXML getSQLXML(String columnLabel) throws SQLException { >++ throw new SQLFeatureNotSupportedException("Not supported"); >++ } >++ >++ @Override >++ public NClob getNClob(int columnIndex) throws SQLException { >++ throw new SQLFeatureNotSupportedException("Not supported"); >++ } >++ >++ @Override >++ public NClob getNClob(String columnLabel) throws SQLException { >++ throw new SQLFeatureNotSupportedException("Not supported"); >++ } >++ >++ @Override >++ public void updateNClob(String columnLabel, NClob nClob) throws SQLException { >++ throw new SQLFeatureNotSupportedException("Not supported"); >++ } >++ >++ @Override >++ public void updateNString(String columnLabel, String nString) throws SQLException { >++ throw new SQLFeatureNotSupportedException("Not supported"); >++ } >++ >++ @Override >++ public void updateNString(int columnLabel, String nString) throws SQLException { >++ throw new SQLFeatureNotSupportedException("Not supported"); >++ } >++ >++ @Override >++ public int getHoldability() throws SQLException { >++ throw new SQLFeatureNotSupportedException("Not supported"); >++ } >++ >++ @Override >++ public void updateRowId(int columnIndex, RowId x) throws SQLException { >++ throw new SQLFeatureNotSupportedException("Not supported"); >++ } >++ >++ @Override >++ public void updateRowId(String columnLabel, RowId x) throws SQLException { >++ throw new SQLFeatureNotSupportedException("Not supported"); >++ } >++ >++ @Override >++ public RowId getRowId(int columnIndex) throws SQLException { >++ throw new SQLFeatureNotSupportedException("Not supported"); >++ } >++ >++ @Override >++ public RowId getRowId(String columnIndex) throws SQLException { >++ throw new SQLFeatureNotSupportedException("Not supported"); >++ } >++ >++ @Override >++ public boolean isWrapperFor(java.lang.Class<?> iface) throws java.sql.SQLException { >++ throw new SQLFeatureNotSupportedException("Not supported"); >++ } >++ >++ @Override >++ public <T> T unwrap(java.lang.Class<T> iface) throws java.sql.SQLException { >++ throw new SQLFeatureNotSupportedException("Not supported"); >++ } >++ >+ } >+Only in mysql-connector-java-5.1.28/src/com/mysql/jdbc: ResultSetImpl.java.orig >+diff -up --recursive mysql-connector-java-5.1.28.orig/src/com/mysql/jdbc/ResultSetMetaData.java mysql-connector-java-5.1.28/src/com/mysql/jdbc/ResultSetMetaData.java >+--- mysql-connector-java-5.1.28.orig/src/com/mysql/jdbc/ResultSetMetaData.java 2013-11-28 08:39:32.000000000 +0100 >++++ mysql-connector-java-5.1.28/src/com/mysql/jdbc/ResultSetMetaData.java 2014-01-23 15:09:10.985010179 +0100 >+@@ -21,7 +21,9 @@ >+ */ >+ package com.mysql.jdbc; >+ >++import java.sql.NClob; >+ import java.sql.SQLException; >++import java.sql.SQLFeatureNotSupportedException; >+ import java.sql.Types; >+ >+ /** >+@@ -848,14 +850,18 @@ public class ResultSetMetaData implement >+ * @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> T unwrap(java.lang.Class<T> iface) throws java.sql.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); >+ } >+ } >++ >++ public void updateNClob(int columnIndex, NClob nClob) throws SQLException { >++ throw new SQLFeatureNotSupportedException("Not supported"); >++ } >+ } >+Only in mysql-connector-java-5.1.28/src/com/mysql/jdbc: ResultSetMetaData.java.orig >+diff -up --recursive mysql-connector-java-5.1.28.orig/src/com/mysql/jdbc/StatementImpl.java mysql-connector-java-5.1.28/src/com/mysql/jdbc/StatementImpl.java >+--- mysql-connector-java-5.1.28.orig/src/com/mysql/jdbc/StatementImpl.java 2013-11-28 08:39:32.000000000 +0100 >++++ mysql-connector-java-5.1.28/src/com/mysql/jdbc/StatementImpl.java 2014-01-23 15:09:10.986010179 +0100 >+@@ -29,6 +29,8 @@ import java.sql.ResultSet; >+ import java.sql.SQLException; >+ import java.sql.SQLWarning; >+ import java.sql.Types; >++import java.sql.SQLFeatureNotSupportedException; >++import java.sql.*; >+ import java.util.ArrayList; >+ import java.util.Calendar; >+ import java.util.Collections; >+@@ -3008,16 +3010,16 @@ public class StatementImpl implements St >+ * @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> T unwrap(java.lang.Class<T> iface) throws java.sql.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()); >+ } >+- } >++ } >+ >+ protected int findStartOfStatement(String sql) { >+ int statementStartPos = 0; >+Only in mysql-connector-java-5.1.28/src/com/mysql/jdbc: StatementImpl.java.orig >+diff -up --recursive mysql-connector-java-5.1.28.orig/src/com/mysql/jdbc/jdbc2/optional/CallableStatementWrapper.java mysql-connector-java-5.1.28/src/com/mysql/jdbc/jdbc2/optional/CallableStatementWrapper.java >+--- mysql-connector-java-5.1.28.orig/src/com/mysql/jdbc/jdbc2/optional/CallableStatementWrapper.java 2013-11-28 08:39:32.000000000 +0100 >++++ mysql-connector-java-5.1.28/src/com/mysql/jdbc/jdbc2/optional/CallableStatementWrapper.java 2014-01-23 15:09:10.978010180 +0100 >+@@ -35,8 +35,12 @@ import java.sql.Blob; >+ import java.sql.CallableStatement; >+ import java.sql.Clob; >+ import java.sql.Date; >++import java.sql.NClob; >+ import java.sql.Ref; >++import java.sql.RowId; >+ import java.sql.SQLException; >++import java.sql.SQLFeatureNotSupportedException; >++import java.sql.SQLXML; >+ import java.sql.Time; >+ import java.sql.Timestamp; >+ import java.util.Calendar; >+@@ -2636,4 +2640,169 @@ public class CallableStatementWrapper ex >+ // throw SQLError.notImplemented(); >+ // } >+ >++ @Override >++ public <T> T getObject(int parameterIndex, Class<T> type) throws SQLException { >++ throw new SQLFeatureNotSupportedException("Not supported"); >++ } >++ >++ @Override >++ public <T> T getObject(String parameterName, Class<T> type) throws SQLException { >++ throw new SQLFeatureNotSupportedException("Not supported"); >++ } >++ >++ @Override >++ public void setBlob(String parameterName, InputStream inputStream) throws SQLException { >++ throw new SQLFeatureNotSupportedException("Not supported"); >++ } >++ >++ @Override >++ public void setClob(String parameterName, Reader reader) throws SQLException { >++ throw new SQLFeatureNotSupportedException("Not supported"); >++ } >++ >++ @Override >++ public void setNCharacterStream(String parameterName, Reader value) throws SQLException{ >++ throw new SQLFeatureNotSupportedException("Not supported"); >++ } >++ >++ @Override >++ public void setCharacterStream(String parameterName, java.io.Reader reader) throws SQLException { >++ throw new SQLFeatureNotSupportedException("Not supported"); >++ } >++ >++ @Override >++ public void setBinaryStream(String parameterName, java.io.InputStream x) throws SQLException { >++ throw new SQLFeatureNotSupportedException("Not supported"); >++ } >++ >++ @Override >++ public void setAsciiStream(String parameterName, java.io.InputStream x) throws SQLException { >++ throw new SQLFeatureNotSupportedException("Not supported"); >++ } >++ >++ @Override >++ public void setCharacterStream(String parameterName, java.io.Reader reader, long length) throws SQLException { >++ throw new SQLFeatureNotSupportedException("Not supported"); >++ } >++ >++ @Override >++ public void setBinaryStream(String parameterName, java.io.InputStream x, long length) throws SQLException { >++ throw new SQLFeatureNotSupportedException("Not supported"); >++ } >++ >++ @Override >++ public void setAsciiStream(String parameterName, java.io.InputStream x, long length) throws SQLException { >++ throw new SQLFeatureNotSupportedException("Not supported"); >++ } >++ >++ @Override >++ public void setClob (String parameterName, Clob x) throws SQLException { >++ throw new SQLFeatureNotSupportedException("Not supported"); >++ } >++ >++ @Override >++ public void setBlob (String parameterName, Blob x) throws SQLException { >++ throw new SQLFeatureNotSupportedException("Not supported"); >++ } >++ >++ @Override >++ public java.io.Reader getCharacterStream(String parameterName) throws SQLException { >++ throw new SQLFeatureNotSupportedException("Not supported"); >++ } >++ >++ @Override >++ public java.io.Reader getCharacterStream(int parameterIndex) throws SQLException { >++ throw new SQLFeatureNotSupportedException("Not supported"); >++ } >++ >++ @Override >++ public java.io.Reader getNCharacterStream(String parameterName) throws SQLException { >++ throw new SQLFeatureNotSupportedException("Not supported"); >++ } >++ >++ @Override >++ public java.io.Reader getNCharacterStream(int parameterIndex) throws SQLException { >++ throw new SQLFeatureNotSupportedException("Not supported"); >++ } >++ >++ @Override >++ public String getNString(String parameterName) throws SQLException { >++ throw new SQLFeatureNotSupportedException("Not supported"); >++ } >++ >++ @Override >++ public String getNString(int parameterIndex) throws SQLException { >++ throw new SQLFeatureNotSupportedException("Not supported"); >++ } >++ >++ @Override >++ public SQLXML getSQLXML(String parameterName) throws SQLException { >++ throw new SQLFeatureNotSupportedException("Not supported"); >++ } >++ >++ @Override >++ public SQLXML getSQLXML(int parameterIndex) throws SQLException { >++ throw new SQLFeatureNotSupportedException("Not supported"); >++ } >++ >++ @Override >++ public void setSQLXML(String parameterName, SQLXML xmlObject) throws SQLException { >++ throw new SQLFeatureNotSupportedException("Not supported"); >++ } >++ >++ @Override >++ public NClob getNClob (String parameterName) throws SQLException { >++ throw new SQLFeatureNotSupportedException("Not supported"); >++ } >++ >++ @Override >++ public NClob getNClob (int parameterIndex) throws SQLException { >++ throw new SQLFeatureNotSupportedException("Not supported"); >++ } >++ >++ @Override >++ public void setNClob(String parameterName, Reader reader, long length) throws SQLException { >++ throw new SQLFeatureNotSupportedException("Not supported"); >++ } >++ >++ @Override >++ public void setBlob(String parameterName, InputStream inputStream, long length) throws SQLException { >++ throw new SQLFeatureNotSupportedException("Not supported"); >++ } >++ >++ @Override >++ public void setClob(String parameterName, Reader reader, long length) throws SQLException { >++ throw new SQLFeatureNotSupportedException("Not supported"); >++ } >++ >++ @Override >++ public void setNClob(String parameterName, NClob value) throws SQLException { >++ throw new SQLFeatureNotSupportedException("Not supported"); >++ } >++ >++ @Override >++ public void setNCharacterStream(String parameterName, Reader value, long length) throws SQLException { >++ throw new SQLFeatureNotSupportedException("Not supported"); >++ } >++ >++ @Override >++ public void setNString(String parameterName, String value) throws SQLException { >++ throw new SQLFeatureNotSupportedException("Not supported"); >++ } >++ >++ @Override >++ public void setRowId(String parameterName, RowId x) throws SQLException { >++ throw new SQLFeatureNotSupportedException("Not supported"); >++ } >++ >++ @Override >++ public RowId getRowId(String parameterName) throws SQLException { >++ throw new SQLFeatureNotSupportedException("Not supported"); >++ } >++ >++ @Override >++ public RowId getRowId(int parameterIndex) throws SQLException { >++ throw new SQLFeatureNotSupportedException("Not supported"); >++ } >++ >+ } >+diff -up --recursive mysql-connector-java-5.1.28.orig/src/com/mysql/jdbc/jdbc2/optional/ConnectionWrapper.java mysql-connector-java-5.1.28/src/com/mysql/jdbc/jdbc2/optional/ConnectionWrapper.java >+--- mysql-connector-java-5.1.28.orig/src/com/mysql/jdbc/jdbc2/optional/ConnectionWrapper.java 2013-11-28 08:39:32.000000000 +0100 >++++ mysql-connector-java-5.1.28/src/com/mysql/jdbc/jdbc2/optional/ConnectionWrapper.java 2014-01-23 15:09:10.978010180 +0100 >+@@ -26,8 +26,15 @@ >+ package com.mysql.jdbc.jdbc2.optional; >+ >+ import java.lang.reflect.Constructor; >++import java.sql.Blob; >++import java.sql.Clob; >++import java.sql.NClob; >+ import java.sql.SQLException; >++import java.sql.SQLXML; >+ import java.sql.Savepoint; >++import java.sql.SQLClientInfoException; >++import java.sql.SQLFeatureNotSupportedException; >++import java.sql.Struct; >+ import java.sql.Statement; >+ import java.util.Map; >+ import java.util.Properties; >+@@ -2862,4 +2869,68 @@ public class ConnectionWrapper extends W >+ public String getConnectionAttributes() throws SQLException { >+ return this.mc.getConnectionAttributes(); >+ } >+-} >+\ No newline at end of file >++ @Override >++ public Struct createStruct(String typeName, Object[] attributes) throws SQLException { >++ throw new SQLFeatureNotSupportedException("Not supported"); >++ } >++ >++ @Override >++ public java.sql.Array createArrayOf(String typeName, Object[] elements) throws SQLException { >++ throw new SQLFeatureNotSupportedException("Not supported"); >++ } >++ >++ @Override >++ public String getClientInfo(String name) throws SQLException { >++ throw new SQLFeatureNotSupportedException("Not supported"); >++ } >++ >++ @Override >++ public Properties getClientInfo() throws SQLException { >++ throw new SQLFeatureNotSupportedException("Not supported"); >++ } >++ @Override >++ public void setClientInfo(String name, String value) throws SQLClientInfoException { >++ //throw new SQLFeatureNotSupportedException("Not supported"); >++ } >++ >++ @Override >++ public void setClientInfo(Properties properties) throws SQLClientInfoException { >++ //throw new SQLFeatureNotSupportedException("Not supported"); >++ } >++ >++ @Override >++ public boolean isValid(int timeout) throws SQLException { >++ throw new SQLFeatureNotSupportedException("Not supported"); >++ } >++ >++ @Override >++ public SQLXML createSQLXML() throws SQLException { >++ throw new SQLFeatureNotSupportedException("Not supported"); >++ } >++ > + @Override >-+ public void updateCharacterStream(int columnIndex, java.io.Reader x) throws SQLException { >++ public NClob createNClob() throws SQLException { > + throw new SQLFeatureNotSupportedException("Not supported"); > + } >-+ >++ > + @Override >-+ public void updateBinaryStream(int columnIndex, java.io.InputStream x) throws SQLException { >++ public Blob createBlob() throws SQLException { > + throw new SQLFeatureNotSupportedException("Not supported"); > + } >-+ >-+ >++ > + @Override >-+ public void updateAsciiStream(int columnIndex, java.io.InputStream x) throws SQLException { >++ public Clob createClob() throws SQLException { > + throw new SQLFeatureNotSupportedException("Not supported"); > + } >-+ >++ > + @Override >-+ public void updateNCharacterStream(String columnLabel, java.io.Reader reader) throws SQLException { >++ public boolean isWrapperFor(java.lang.Class<?> iface) throws java.sql.SQLException { > + throw new SQLFeatureNotSupportedException("Not supported"); > + } >-+ >++ > + @Override >-+ public void updateNCharacterStream(int columnIndex, java.io.Reader x) throws SQLException { >++ public <T> T unwrap(java.lang.Class<T> iface) throws java.sql.SQLException { > + throw new SQLFeatureNotSupportedException("Not supported"); > + } >-+ >-+ >++ >++} >+Only in mysql-connector-java-5.1.28/src/com/mysql/jdbc/jdbc2/optional: ConnectionWrapper.java.orig >+diff -up --recursive mysql-connector-java-5.1.28.orig/src/com/mysql/jdbc/jdbc2/optional/MysqlDataSource.java mysql-connector-java-5.1.28/src/com/mysql/jdbc/jdbc2/optional/MysqlDataSource.java >+--- mysql-connector-java-5.1.28.orig/src/com/mysql/jdbc/jdbc2/optional/MysqlDataSource.java 2013-11-28 08:39:32.000000000 +0100 >++++ mysql-connector-java-5.1.28/src/com/mysql/jdbc/jdbc2/optional/MysqlDataSource.java 2014-01-23 15:09:10.979010180 +0100 >+@@ -28,8 +28,10 @@ package com.mysql.jdbc.jdbc2.optional; >+ import java.io.PrintWriter; >+ import java.io.Serializable; >+ import java.sql.SQLException; >++import java.sql.SQLFeatureNotSupportedException; >+ import java.util.Iterator; >+ import java.util.Properties; >++import java.util.logging.Logger; >+ >+ import javax.naming.NamingException; >+ import javax.naming.Reference; >+@@ -450,4 +452,19 @@ public class MysqlDataSource extends Con >+ // public <T> T unwrap(Class<T> iface) throws SQLException { >+ // throw SQLError.notImplemented(); >+ // } >++ > + @Override >-+ public void updateBlob(int columnIndex, InputStream inputStream, long length) throws SQLException { >++ public Logger getParentLogger() throws SQLFeatureNotSupportedException { > + throw new SQLFeatureNotSupportedException("Not supported"); > + } >-+ >++ > + @Override >-+ public void updateBlob(String columnLabel, InputStream inputStream, long length) throws SQLException { >++ public <T> T unwrap(java.lang.Class<T> iface) throws java.sql.SQLException { > + throw new SQLFeatureNotSupportedException("Not supported"); > + } >-+ >++ > + @Override >-+ public void updateCharacterStream(String columnLabel, java.io.Reader reader, long length) throws SQLException { >++ public boolean isWrapperFor(java.lang.Class<?> iface) throws java.sql.SQLException { > + throw new SQLFeatureNotSupportedException("Not supported"); > + } >-+ >+ } >+diff -up --recursive mysql-connector-java-5.1.28.orig/src/com/mysql/jdbc/jdbc2/optional/MysqlPooledConnection.java mysql-connector-java-5.1.28/src/com/mysql/jdbc/jdbc2/optional/MysqlPooledConnection.java >+--- mysql-connector-java-5.1.28.orig/src/com/mysql/jdbc/jdbc2/optional/MysqlPooledConnection.java 2013-11-28 08:39:32.000000000 +0100 >++++ mysql-connector-java-5.1.28/src/com/mysql/jdbc/jdbc2/optional/MysqlPooledConnection.java 2014-01-23 15:09:10.979010180 +0100 >+@@ -27,6 +27,7 @@ package com.mysql.jdbc.jdbc2.optional; >+ import java.lang.reflect.Constructor; >+ import java.sql.Connection; >+ import java.sql.SQLException; >++import java.sql.SQLFeatureNotSupportedException; >+ import java.util.HashMap; >+ import java.util.Iterator; >+ import java.util.Map; >+@@ -34,6 +35,7 @@ import java.util.Map; >+ import javax.sql.ConnectionEvent; >+ import javax.sql.ConnectionEventListener; >+ import javax.sql.PooledConnection; >++import javax.sql.StatementEventListener; >+ >+ import com.mysql.jdbc.ExceptionInterceptor; >+ import com.mysql.jdbc.SQLError; >+@@ -254,4 +256,13 @@ public class MysqlPooledConnection imple >+ protected ExceptionInterceptor getExceptionInterceptor() { >+ return this.exceptionInterceptor; >+ } >+-} >+\ No newline at end of file >++ > + @Override >-+ public void updateBinaryStream(String columnLabel, java.io.InputStream x, long length) throws SQLException { >++ public void addStatementEventListener(StatementEventListener listener) { >++ } >++ >++ @Override >++ public void removeStatementEventListener(StatementEventListener listener) { >++ } >++ >++} >+diff -up --recursive mysql-connector-java-5.1.28.orig/src/com/mysql/jdbc/jdbc2/optional/PreparedStatementWrapper.java mysql-connector-java-5.1.28/src/com/mysql/jdbc/jdbc2/optional/PreparedStatementWrapper.java >+--- mysql-connector-java-5.1.28.orig/src/com/mysql/jdbc/jdbc2/optional/PreparedStatementWrapper.java 2013-11-28 08:39:32.000000000 +0100 >++++ mysql-connector-java-5.1.28/src/com/mysql/jdbc/jdbc2/optional/PreparedStatementWrapper.java 2014-01-23 15:09:10.979010180 +0100 >+@@ -34,12 +34,16 @@ import java.sql.Array; >+ import java.sql.Blob; >+ import java.sql.Clob; >+ import java.sql.Date; >++import java.sql.NClob; >+ import java.sql.ParameterMetaData; >+ import java.sql.PreparedStatement; >+ import java.sql.Ref; >+ import java.sql.ResultSet; >+ import java.sql.ResultSetMetaData; >++import java.sql.RowId; >+ import java.sql.SQLException; >++import java.sql.SQLFeatureNotSupportedException; >++import java.sql.SQLXML; >+ import java.sql.Time; >+ import java.sql.Timestamp; >+ import java.util.Calendar; >+@@ -1240,4 +1244,107 @@ public class PreparedStatementWrapper ex >+ // public Object unwrap(Class arg0) throws SQLException { >+ // throw SQLError.notImplemented(); >+ // } >++ >++ public void setNClob(String parameterName, NClob value) throws SQLException { > + throw new SQLFeatureNotSupportedException("Not supported"); > + } >-+ >-+ @Override >-+ public void updateAsciiStream(String columnLabel, java.io.InputStream x, long length) throws SQLException { >++ >++ public void setNClob(String parameterName, Reader reader, long length) throws SQLException { > + throw new SQLFeatureNotSupportedException("Not supported"); > + } >-+ >-+ @Override >-+ public void updateCharacterStream(int columnIndex, java.io.Reader x, long length) throws SQLException { >++ >++ public void setNClob(String parameterName, Reader reader) throws SQLException { > + throw new SQLFeatureNotSupportedException("Not supported"); > + } >-+ >++ > + @Override >-+ public void updateBinaryStream(int columnIndex, java.io.InputStream x, long length) throws SQLException { >++ public void setNClob(int parameterName, NClob value) throws SQLException { > + throw new SQLFeatureNotSupportedException("Not supported"); > + } >-+ >-+ >++ > + @Override >-+ public void updateAsciiStream(int columnIndex, java.io.InputStream x, long length) throws SQLException { >++ public void setNClob(int parameterName, Reader reader, long length) throws SQLException { > + throw new SQLFeatureNotSupportedException("Not supported"); > + } >-+ >++ > + @Override >-+ public void updateNCharacterStream(String columnLabel, java.io.Reader reader, long length) throws SQLException { >++ public void setNClob(int parameterName, Reader reader) throws SQLException { > + throw new SQLFeatureNotSupportedException("Not supported"); > + } >-+ >++ > + @Override >-+ public void updateNCharacterStream(int columnIndex, java.io.Reader x, long length) throws SQLException { >++ public void setBlob(int parameterIndex, InputStream inputStream) throws SQLException { > + throw new SQLFeatureNotSupportedException("Not supported"); > + } >-+ >++ > + @Override >-+ public java.io.Reader getNCharacterStream(int columnIndex) throws SQLException { >++ public void setClob(int parameterIndex, Reader reader) throws SQLException{ > + throw new SQLFeatureNotSupportedException("Not supported"); > + } >-+ >++ > + @Override >-+ public java.io.Reader getNCharacterStream(String columnIndex) throws SQLException { >++ public void setNCharacterStream(int parameterIndex, Reader value) throws SQLException{ > + throw new SQLFeatureNotSupportedException("Not supported"); > + } >-+ >++ > + @Override >-+ public String getNString(int columnIndex) throws SQLException { >++ public void setCharacterStream(int parameterIndex, java.io.Reader reader) throws SQLException { > + throw new SQLFeatureNotSupportedException("Not supported"); > + } >-+ >++ > + @Override >-+ public String getNString(String columnIndex) throws SQLException { >++ public void setBinaryStream(int parameterIndex, java.io.InputStream x) throws SQLException { > + throw new SQLFeatureNotSupportedException("Not supported"); > + } >-+ >++ > + @Override >-+ public void updateSQLXML(int columnIndex, SQLXML xmlObject) throws SQLException { >++ public void setAsciiStream(int parameterIndex, java.io.InputStream x) throws SQLException{ > + throw new SQLFeatureNotSupportedException("Not supported"); > + } >-+ >++ > + @Override >-+ public void updateSQLXML(String columnLabel, SQLXML xmlObject) throws SQLException { >++ public void setCharacterStream(int parameterIndex, java.io.Reader reader, long length) throws SQLException{ > + throw new SQLFeatureNotSupportedException("Not supported"); > + } >-+ >++ > + @Override >-+ public SQLXML getSQLXML(int columnIndex) throws SQLException { >++ public void setBinaryStream(int parameterIndex, java.io.InputStream x, long length) throws SQLException { > + throw new SQLFeatureNotSupportedException("Not supported"); > + } >-+ >++ > + @Override >-+ public SQLXML getSQLXML(String columnLabel) throws SQLException { >++ public void setAsciiStream(int parameterIndex, java.io.InputStream x, long length) throws SQLException { > + throw new SQLFeatureNotSupportedException("Not supported"); > + } >-+ >++ > + @Override >-+ public NClob getNClob(int columnIndex) throws SQLException { >++ public void setSQLXML(int parameterIndex, SQLXML xmlObject) throws SQLException { > + throw new SQLFeatureNotSupportedException("Not supported"); > + } >-+ >++ > + @Override >-+ public NClob getNClob(String columnLabel) throws SQLException { >++ public void setBlob(int parameterIndex, InputStream inputStream, long length) throws SQLException{ > + throw new SQLFeatureNotSupportedException("Not supported"); > + } >-+ >++ > + @Override >-+ public void updateNClob(String columnLabel, NClob nClob) throws SQLException { >++ public void setClob(int parameterIndex, Reader reader, long length) throws SQLException { > + throw new SQLFeatureNotSupportedException("Not supported"); > + } >-+ >++ > + @Override >-+ public void updateNString(String columnLabel, String nString) throws SQLException { >++ public void setNCharacterStream(int parameterIndex, Reader value, long length) throws SQLException { > + throw new SQLFeatureNotSupportedException("Not supported"); > + } >-+ >++ > + @Override >-+ public void updateNString(int columnLabel, String nString) throws SQLException { >++ public void setNString(int parameterIndex, String value) throws SQLException{ > + throw new SQLFeatureNotSupportedException("Not supported"); > + } >-+ >++ > + @Override >-+ public boolean isClosed() throws SQLException { >++ public void setRowId(int parameterIndex, RowId x) throws SQLException { > + throw new SQLFeatureNotSupportedException("Not supported"); > + } >-+ >++ >+ } >+diff -up --recursive mysql-connector-java-5.1.28.orig/src/com/mysql/jdbc/jdbc2/optional/StatementWrapper.java mysql-connector-java-5.1.28/src/com/mysql/jdbc/jdbc2/optional/StatementWrapper.java >+--- mysql-connector-java-5.1.28.orig/src/com/mysql/jdbc/jdbc2/optional/StatementWrapper.java 2013-11-28 08:39:32.000000000 +0100 >++++ mysql-connector-java-5.1.28/src/com/mysql/jdbc/jdbc2/optional/StatementWrapper.java 2014-01-23 15:09:10.979010180 +0100 >+@@ -29,6 +29,7 @@ import java.lang.reflect.Constructor; >+ import java.sql.Connection; >+ import java.sql.ResultSet; >+ import java.sql.SQLException; >++import java.sql.SQLFeatureNotSupportedException; >+ import java.sql.SQLWarning; >+ import java.sql.Statement; >+ >+@@ -866,4 +867,41 @@ public class StatementWrapper extends Wr >+ checkAndFireConnectionError(sqlEx); >+ } >+ } >++ > + @Override >-+ public int getHoldability() throws SQLException { >++ public boolean isCloseOnCompletion() throws SQLException { > + throw new SQLFeatureNotSupportedException("Not supported"); > + } >-+ >++ > + @Override >-+ public void updateRowId(int columnIndex, RowId x) throws SQLException { >++ public void closeOnCompletion() throws SQLException { > + throw new SQLFeatureNotSupportedException("Not supported"); > + } >-+ >++ > + @Override >-+ public void updateRowId(String columnLabel, RowId x) throws SQLException { >++ public boolean isPoolable() throws SQLException{ > + throw new SQLFeatureNotSupportedException("Not supported"); > + } >-+ >++ > + @Override >-+ public RowId getRowId(int columnIndex) throws SQLException { >++ public void setPoolable(boolean poolable) throws SQLException{ > + throw new SQLFeatureNotSupportedException("Not supported"); > + } >-+ >++ > + @Override >-+ public RowId getRowId(String columnIndex) throws SQLException { >++ public boolean isClosed() throws SQLException{ > + throw new SQLFeatureNotSupportedException("Not supported"); > + } >-+ >++ > + @Override > + public boolean isWrapperFor(java.lang.Class<?> iface) throws java.sql.SQLException { > + throw new SQLFeatureNotSupportedException("Not supported"); > + } >-+ >++ > + @Override > + public <T> T unwrap(java.lang.Class<T> iface) throws java.sql.SQLException { > + throw new SQLFeatureNotSupportedException("Not supported"); > + } > + >- } >-diff -up mysql-connector-java-5.1.26/src/com/mysql/jdbc/ResultSetMetaData.java.p0 mysql-connector-java-5.1.26/src/com/mysql/jdbc/ResultSetMetaData.java >---- mysql-connector-java-5.1.26/src/com/mysql/jdbc/ResultSetMetaData.java.p0 2013-07-24 02:07:01.000000000 +0200 >-+++ mysql-connector-java-5.1.26/src/com/mysql/jdbc/ResultSetMetaData.java 2013-10-23 10:44:56.708452830 +0200 >-@@ -23,7 +23,9 @@ >- */ >- package com.mysql.jdbc; >- >-+import java.sql.NClob; >- import java.sql.SQLException; >-+import java.sql.SQLFeatureNotSupportedException; >- import java.sql.Types; >- >- /** >-@@ -849,14 +851,18 @@ public class ResultSetMetaData implement >- * @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> T unwrap(java.lang.Class<T> iface) throws java.sql.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); >- } >- } > + >-+ public void updateNClob(int columnIndex, NClob nClob) throws SQLException { >-+ throw new SQLFeatureNotSupportedException("Not supported"); >-+ } > } >-diff -up mysql-connector-java-5.1.26/src/com/mysql/jdbc/StatementImpl.java.p0 mysql-connector-java-5.1.26/src/com/mysql/jdbc/StatementImpl.java >---- mysql-connector-java-5.1.26/src/com/mysql/jdbc/StatementImpl.java.p0 2013-07-24 02:07:01.000000000 +0200 >-+++ mysql-connector-java-5.1.26/src/com/mysql/jdbc/StatementImpl.java 2013-10-23 10:44:56.709452828 +0200 >-@@ -29,6 +29,8 @@ import java.sql.ResultSet; >- import java.sql.SQLException; >- import java.sql.SQLWarning; >- import java.sql.Types; >-+import java.sql.SQLFeatureNotSupportedException; >-+import java.sql.*; >- import java.util.ArrayList; >- import java.util.Calendar; >- import java.util.Collections; >-@@ -2971,16 +2973,16 @@ public class StatementImpl implements St >- * @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> T unwrap(java.lang.Class<T> iface) throws java.sql.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()); >- } >-- } >-+ } >- >- protected int findStartOfStatement(String sql) { >- int statementStartPos = 0; >-@@ -3051,4 +3053,4 @@ public class StatementImpl implements St >- return closeOnCompletion; >- } >- } >--} >-\ No newline at end of file >-+} >-diff -up mysql-connector-java-5.1.26/src/testsuite/regression/StatementRegressionTest.java.p0 mysql-connector-java-5.1.26/src/testsuite/regression/StatementRegressionTest.java >---- mysql-connector-java-5.1.26/src/testsuite/regression/StatementRegressionTest.java.p0 2013-07-24 02:07:01.000000000 +0200 >-+++ mysql-connector-java-5.1.26/src/testsuite/regression/StatementRegressionTest.java 2013-10-23 10:44:56.711452823 +0200 >-@@ -55,6 +55,11 @@ import java.sql.Ref; >+diff -up --recursive mysql-connector-java-5.1.28.orig/src/testsuite/regression/StatementRegressionTest.java mysql-connector-java-5.1.28/src/testsuite/regression/StatementRegressionTest.java >+--- mysql-connector-java-5.1.28.orig/src/testsuite/regression/StatementRegressionTest.java 2013-11-28 08:39:32.000000000 +0100 >++++ mysql-connector-java-5.1.28/src/testsuite/regression/StatementRegressionTest.java 2014-01-23 15:09:10.987010179 +0100 >+@@ -50,6 +50,11 @@ import java.sql.Ref; > import java.sql.ResultSet; > import java.sql.ResultSetMetaData; > import java.sql.SQLException; >@@ -1649,7 +1644,7 @@ diff -up mysql-connector-java-5.1.26/src/testsuite/regression/StatementRegressio > import java.sql.SQLWarning; > import java.sql.Statement; > import java.sql.Time; >-@@ -2542,7 +2547,8 @@ public class StatementRegressionTest ext >+@@ -2537,7 +2542,8 @@ public class StatementRegressionTest ext > try { > pStmt = this.conn > .prepareStatement("INSERT INTO testNullClob VALUES (?)"); >@@ -1659,7 +1654,7 @@ diff -up mysql-connector-java-5.1.26/src/testsuite/regression/StatementRegressio > pStmt.executeUpdate(); > } finally { > if (pStmt != null) { >-@@ -5272,6 +5278,276 @@ public class StatementRegressionTest ext >+@@ -5275,6 +5281,271 @@ public class StatementRegressionTest ext > public int getBytesSize() throws SQLException { > return 0; > } >@@ -1895,11 +1890,6 @@ diff -up mysql-connector-java-5.1.26/src/testsuite/regression/StatementRegressio > + } > + > + @Override >-+ public boolean isClosed() throws SQLException { >-+ throw new SQLFeatureNotSupportedException("Not supported"); >-+ } >-+ >-+ @Override > + public int getHoldability() throws SQLException { > + throw new SQLFeatureNotSupportedException("Not supported"); > + } >@@ -1936,9 +1926,12 @@ diff -up mysql-connector-java-5.1.26/src/testsuite/regression/StatementRegressio > }; > } > >-@@ -6906,4 +7182,5 @@ public class StatementRegressionTest ext >+@@ -6909,6 +7185,7 @@ public class StatementRegressionTest ext > > } > > + >- } >+ /** >+ * WL#4897 - Add EXPLAIN INSERT/UPDATE/DELETE >+ * >+Only in mysql-connector-java-5.1.28/src/testsuite/regression: StatementRegressionTest.java.orig >diff --git a/mysql-connector-java.spec b/mysql-connector-java.spec >index 91f8c7f..4ad7227 100644 >--- a/mysql-connector-java.spec >+++ b/mysql-connector-java.spec >@@ -6,9 +6,9 @@ > > Summary: Official JDBC driver for MySQL > Name: mysql-connector-java >-Version: 5.1.26 >-Release: 3%{?dist} >-Epoch: 1 >+Version: 5.1.28 >+Release: 1%{?dist} >+Epoch: 1 > > # MySQL FLOSS Exception > License: GPLv2 with exceptions >@@ -17,12 +17,11 @@ URL: http://dev.mysql.com/downloads/connector/j/ > > # Mysql has a mirror redirector for its downloads > # You can get this tarball by following a link from: >-# http://dev.mysql.com/get/Downloads/Connector-J/%{name}-%{version}.zip/from/pick#mirrors >+# http://dev.mysql.com/get/Downloads/Connector-J/%{name}-%{version}.tar.gz > # > # Following prebuilt jars and sources have been removed from the tarball: > # > # %{name}-%{version}-bin.jar >-# src/lib/ant-contrib.jar > # src/lib/c3p0-0.9.1-pre6.jar > # src/lib/c3p0-0.9.1-pre6.src.zip > # src/lib/jboss-common-jdbc-wrapper.jar >@@ -35,7 +34,7 @@ Source0: %{name}-%{version}-nojars.tar.xz > # To make it easier a script generate-tarball.sh has been created: > # ./generate-tarball.sh version > # will create a new tarball compressed with xz and without those jar files. >-Source1: generate-tarball.sh >+Source1: generate-tarball.sh > > # Patch to build with JDBC 4.1/Java 7 > Patch0: %{name}-jdbc-4.1.patch >@@ -45,6 +44,7 @@ BuildArch: noarch > BuildRequires: java-devel >= 1:1.6.0 > BuildRequires: ant >= 1.6.0 > BuildRequires: ant-contrib >= 1.0 >+BuildRequires: bzr > BuildRequires: jpackage-utils >= 1.6 > BuildRequires: jta >= 1.0 > BuildRequires: junit >@@ -110,6 +110,11 @@ sed -i 's/>@.*</>%{version}</' $RPM_BUILD_ROOT%{_mavenpomdir}/JPP-%{name}.pom > %{_mavenpomdir}/*.pom > > %changelog >+* Thu Jan 23 2014 Jakub DorÅák <jdornak@redhat.com> - 1:5.1.28-1 >+- Update to 5.1.28 >+- fix generate-tarball.sh to also remove .zip files >+ Resolves: #1049223 >+ > * Mon Nov 4 2013 Honza Horak <hhorak@redhat.com> - 1:5.1.26-3 > - Remove unnecessary buildroot erase > >@@ -119,7 +124,7 @@ sed -i 's/>@.*</>%{version}</' $RPM_BUILD_ROOT%{_mavenpomdir}/JPP-%{name}.pom > > * Wed Oct 23 2013 Honza Horak <hhorak@redhat.com> - 1:5.1.26-1 > - Update to 5.1.26 >-- Remove versioned jars >+- Remove versioned jars > Resolves: #1022144 > > * Mon Aug 12 2013 Alexander Kurtakov <akurtako@redhat.com> 1:5.1.25-3 >diff --git a/sources b/sources >index d7ca397..a20726c 100644 >--- a/sources >+++ b/sources >@@ -1 +1 @@ >-ed71a00e04d9c55f3150d08369627c80 mysql-connector-java-5.1.26-nojars.tar.xz >+55eee2577d41c9155f198589e91c1a26 mysql-connector-java-5.1.28-nojars.tar.xz >-- >1.8.4.2 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1049223
:
854475
|
854516