Throw exceptions on unsupported methods

This commit is contained in:
김선우 2025-02-09 17:24:52 +09:00
parent 1f3ddaeec6
commit 4e067b2997

View file

@ -236,31 +236,24 @@ public class JDBC4Connection extends LimboConnection {
}
@Override
@SkipNullableCheck
public Clob createClob() throws SQLException {
// TODO
return null;
throw new SQLFeatureNotSupportedException("createClob not supported");
}
@Override
@SkipNullableCheck
public Blob createBlob() throws SQLException {
// TODO
return null;
throw new SQLFeatureNotSupportedException("createBlob not supported");
}
@Override
@SkipNullableCheck
public NClob createNClob() throws SQLException {
// TODO
return null;
throw new SQLFeatureNotSupportedException("createNClob not supported");
}
@Override
@SkipNullableCheck
public SQLXML createSQLXML() throws SQLException {
// TODO
return null;
throw new SQLFeatureNotSupportedException("createSQLXML not supported");
}
@Override