[
https://issues.apache.org/jira/browse/DBUTILS-125?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14519903#comment-14519903
]
EMR commented on DBUTILS-125:
-----------------------------
Modified the sql statement to use parameter "?"'s and changed the code to:
pstmt = conn.prepareStatement(ePersonSql1);
pstmt.setString(1, "xx1");
pstmt.setString(2, "xx1");
ResultSet rs = pstmt.executeQuery();
Same problem. Is there a way that I can turn on verbose debugging in the
dbutils library?
> Using Oracle OJDBC7 gives ORA-00933
> -----------------------------------
>
> Key: DBUTILS-125
> URL: https://issues.apache.org/jira/browse/DBUTILS-125
> Project: Commons DbUtils
> Issue Type: Bug
> Affects Versions: 1.6
> Environment: JDBC driver version is 12.1.0.1.0
> Reporter: EMR
> Priority: Minor
>
> Attempting to run an sql query with the latest version of the drivers, it
> fails with ERROR (JavaApplication33.java:107) - ORA-00933: SQL command not
> properly ended.
> However, if I revert to the 11 version of the driver, the query works fine.
> Is there a setting that I am missing between the two versions?
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)