[
https://issues.apache.org/jira/browse/SOLR-14154?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17007720#comment-17007720
]
Kevin Risden commented on SOLR-14154:
-------------------------------------
Ugh typoed the jira. Will fix changes.
----
Commit 1e0471a2476d66ff64e866b354253b8e76bcd7c7 in lucene-solr's branch
refs/heads/master from Nick Vercammen
[ https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=1e0471a ]
SOLR-14153: Return correct isolation level when retrieving it from the SQL
Connection
As transactions are not supported a request to getTransactionIsolation() should
return TRANSACTION_NONE
(https://docs.oracle.com/javase/8/docs/api/java/sql/Connection.html#TRANSACTION_NONE)
Signed-off-by: Kevin Risden <[email protected]>
----
Commit 1b40371d43fb82d03bff7ee3b14de26871a8637f in lucene-solr's branch
refs/heads/branch_8x from Nick Vercammen
[ https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=1b40371 ]
SOLR-14153: Return correct isolation level when retrieving it from the SQL
Connection
As transactions are not supported a request to getTransactionIsolation() should
return TRANSACTION_NONE
(https://docs.oracle.com/javase/8/docs/api/java/sql/Connection.html#TRANSACTION_NONE)
Signed-off-by: Kevin Risden <[email protected]>
----
Commit e2daabf2dc32c1062f8f9801c55dfb513b5e6ad0 in lucene-solr's branch
refs/heads/branch_8_4 from Nick Vercammen
[ https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=e2daabf ]
SOLR-14153: Return correct isolation level when retrieving it from the SQL
Connection
As transactions are not supported a request to getTransactionIsolation() should
return TRANSACTION_NONE
(https://docs.oracle.com/javase/8/docs/api/java/sql/Connection.html#TRANSACTION_NONE)
Signed-off-by: Kevin Risden <[email protected]>
> Return correct isolation level when retrieving it from the SQL Connection
> -------------------------------------------------------------------------
>
> Key: SOLR-14154
> URL: https://issues.apache.org/jira/browse/SOLR-14154
> Project: Solr
> Issue Type: Improvement
> Security Level: Public(Default Security Level. Issues are Public)
> Components: Parallel SQL
> Affects Versions: 8.4
> Reporter: Nick Vercammen
> Assignee: Kevin Risden
> Priority: Minor
> Fix For: 8.5, 8.4.1
>
> Time Spent: 1h
> Remaining Estimate: 0h
>
> When calling the getTransactionIsolation() on the Sql.ConnectionImpl an
> UnsupportedException is thrown. It would be better to return TRANSACTION_NONE
> so clients can determine themselves it is not supported without receiving an
> exception
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]