From 70ad8316f4964d1b62b53f02e5fdf7798d5a8350 Mon Sep 17 00:00:00 2001 From: jbernste Date: Tue, 2 Feb 2016 13:24:20 -0500 Subject: [PATCH] SOLR-8631: Throw UnsupportedOperationException for DatabaseMetaDataImpl.getTypeInfo() --- .../apache/solr/client/solrj/io/sql/DatabaseMetaDataImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/solr/solrj/src/java/org/apache/solr/client/solrj/io/sql/DatabaseMetaDataImpl.java b/solr/solrj/src/java/org/apache/solr/client/solrj/io/sql/DatabaseMetaDataImpl.java index 3ed9e37a158..6d3ee5dde65 100644 --- a/solr/solrj/src/java/org/apache/solr/client/solrj/io/sql/DatabaseMetaDataImpl.java +++ b/solr/solrj/src/java/org/apache/solr/client/solrj/io/sql/DatabaseMetaDataImpl.java @@ -700,7 +700,7 @@ class DatabaseMetaDataImpl implements DatabaseMetaData { @Override public ResultSet getTypeInfo() throws SQLException { - return null; + throw new UnsupportedOperationException(); } @Override