Skip to content

ParameterMetaData return NULL #972

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
ArvinLovegood opened this issue Jun 29, 2022 · 1 comment
Closed

ParameterMetaData return NULL #972

ArvinLovegood opened this issue Jun 29, 2022 · 1 comment

Comments

@ArvinLovegood
Copy link

// 0.3.2-patch10
@OverRide
public ParameterMetaData getParameterMetaData() throws SQLException {
// TODO Auto-generated method stub
return null;
}

// old version in package: ru.yandex.clickhouse
@OverRide
public ParameterMetaData getParameterMetaData() throws SQLException {
throw new SQLFeatureNotSupportedException();
}

why not stay the same ?
It is easy to cause a NullPointerException.

@zhicwu
Copy link
Contributor

zhicwu commented Jun 29, 2022

I should implement this method instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants