Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/main/java/org/tarantool/jdbc/SQLDatabaseMetadata.java
Original file line number Diff line number Diff line change
Expand Up @@ -1037,7 +1037,7 @@ public int getJDBCMinorVersion() throws SQLException {

@Override
public int getSQLStateType() throws SQLException {
return 0;
return DatabaseMetaData.sqlStateSQL;
}

@Override
Expand Down
5 changes: 5 additions & 0 deletions src/test/java/org/tarantool/jdbc/JdbcDatabaseMetaDataIT.java
Original file line number Diff line number Diff line change
Expand Up @@ -390,4 +390,9 @@ public void testDeleteDetectionSupport() throws SQLException {
}
}

@Test
public void testSqlStateType() throws SQLException {
assertEquals(DatabaseMetaData.sqlStateSQL, meta.getSQLStateType());
}

}