[
https://issues.apache.org/jira/browse/JENA-408?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Advertising
Andy Seaborne closed JENA-408.
------------------------------
Resolution: Won't Fix
SDB is legacy.
As noted the fix is harsh, and can split legal single SQL statements.
> SDB should not attempt to execute multiple update statements in one jdbc
> statement
> ----------------------------------------------------------------------------------
>
> Key: JENA-408
> URL: https://issues.apache.org/jira/browse/JENA-408
> Project: Apache Jena
> Issue Type: Bug
> Components: SDB
> Affects Versions: SDB 1.3.6
> Reporter: Simon Helsen
> Priority: Minor
> Attachments: patch.txt
>
>
> Some of the db providers (I noticed in db2, but there may be others) attempt
> to execute update statements by separating them with a semi-colon. This is
> not supported by the jdbc spec and most jdbc drivers won't be able to handle
> this correctly.
> I am not entirely sure why such statements are present in SDB but I suspect
> that old jdbc 3 drivers for db2 permitted this. The fix is relatively simple
> and a patch is being attached
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)