SOLR-9597: Add setReadOnly(String ...) to ConnectionImpl

This commit is contained in:
Kevin Risden 2016-10-04 09:51:16 -05:00
parent c20d1298d3
commit 012d75d36d
2 changed files with 11 additions and 0 deletions

View File

@ -183,6 +183,8 @@ Other Changes
* SOLR-8332: Factor HttpShardHandler[Factory]'s url shuffling out into a ReplicaListTransformer class. * SOLR-8332: Factor HttpShardHandler[Factory]'s url shuffling out into a ReplicaListTransformer class.
(Christine Poerschke, Noble Paul) (Christine Poerschke, Noble Paul)
* SOLR-9597: Add setReadOnly(String ...) to ConnectionImpl (Kevin Risden)
================== 6.3.0 ================== ================== 6.3.0 ==================
Consult the LUCENE_CHANGES.txt file for additional, low level, changes in this release. Consult the LUCENE_CHANGES.txt file for additional, low level, changes in this release.

View File

@ -155,6 +155,15 @@ class ConnectionImpl implements Connection {
} }
/*
* When using OpenLink ODBC-JDBC bridge on Windows, it runs the method ConnectionImpl.setReadOnly(String ...).
* The spec says that setReadOnly(boolean ...) is required. This causes the ODBC-JDBC bridge to fail on Windows.
* OpenLink case: http://support.openlinksw.com/support/techupdate.vsp?c=21881
*/
public void setReadOnly(String readOnly) throws SQLException {
}
@Override @Override
public boolean isReadOnly() throws SQLException { public boolean isReadOnly() throws SQLException {
return true; return true;