Skip to content

Commit

Permalink
implement getSQLStateType()
Browse files Browse the repository at this point in the history
remove failing test
  • Loading branch information
Lorna Barber authored and SimbaGithub committed Jul 29, 2022
1 parent 3596040 commit 3f2772b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2962,8 +2962,7 @@ public int getJDBCMinorVersion() throws SQLException {
@Override
public int getSQLStateType() throws SQLException {
logger.debug("public int getSQLStateType()", false);

throw new SnowflakeLoggedFeatureNotSupportedException(session);
return sqlStateSQL;
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -935,7 +935,6 @@ public void testFeatureNotSupportedException() throws Throwable {
expectFeatureNotSupportedException(() -> metaData.getSuperTypes(null, null, null));
expectFeatureNotSupportedException(() -> metaData.getSuperTables(null, null, null));
expectFeatureNotSupportedException(() -> metaData.getAttributes(null, null, null, null));
expectFeatureNotSupportedException(metaData::getSQLStateType);
expectFeatureNotSupportedException(metaData::locatorsUpdateCopy);
expectFeatureNotSupportedException(metaData::getRowIdLifetime);
expectFeatureNotSupportedException(metaData::autoCommitFailureClosesAllResultSets);
Expand Down

0 comments on commit 3f2772b

Please sign in to comment.