[
https://issues.apache.org/jira/browse/SOLR-9011?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15248062#comment-15248062
]
Kevin Risden commented on SOLR-9011:
------------------------------------
JayDeBeApi fails since it requires a prepare statement to execute the
statements. JayDeBeApi currently doesn't display the underlying exception so
had to pull the following from jaydebeapi/__init__.py.
{code}
def execute(self, operation, parameters=None):
if self._connection._closed:
raise Error()
if not parameters:
parameters = ()
self._close_last()
self._prep = self._connection.jconn.prepareStatement(operation)
self._set_stmt_parms(self._prep, parameters)
try:
is_rs = self._prep.execute()
except:
_handle_sql_exception()
{code}
> SolrJ JDBC - Ensure that Python JayDeBeApi works with SolrJ JDBC
> ----------------------------------------------------------------
>
> Key: SOLR-9011
> URL: https://issues.apache.org/jira/browse/SOLR-9011
> Project: Solr
> Issue Type: Sub-task
> Components: SolrJ
> Affects Versions: master, 6.0
> Reporter: Kevin Risden
>
> Python with JayDeBeApi enables connections to JDBC sources.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]