Skip to content

Commit

Permalink
Branch cut for release 4b.2 (#158)
Browse files Browse the repository at this point in the history
* Removing support for PreparedStatement as prepared statements (#157)

* Updating version for next release (#159)
  • Loading branch information
vish689 authored May 10, 2024
1 parent 66a476c commit 91596e7
Show file tree
Hide file tree
Showing 5 changed files with 46 additions and 637 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>com.queryService</groupId>
<artifactId>Salesforce-CDP-jdbc</artifactId>
<version>1.19.4</version>
<version>1.19.5</version>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,7 @@ public Statement createStatement() throws SQLException {

@Override
public PreparedStatement prepareStatement(String sql) throws SQLException {
return new QueryServicePreparedStatement(this, sql,
ResultSet.TYPE_FORWARD_ONLY, ResultSet.CONCUR_READ_ONLY);
throw new SQLFeatureNotSupportedException("PreparedStatement is not supported");
}

@Override
Expand Down Expand Up @@ -241,7 +240,7 @@ public Statement createStatement(int resultSetType, int resultSetConcurrency) th

@Override
public PreparedStatement prepareStatement(String sql, int resultSetType, int resultSetConcurrency) throws SQLException {
return new QueryServicePreparedStatement(this, sql, resultSetType, resultSetConcurrency);
throw new SQLFeatureNotSupportedException("PreparedStatement is not supported");
}

@Override
Expand Down
Loading

0 comments on commit 91596e7

Please sign in to comment.