HI, im trying to create a jdbc catalog using the d...
# troubleshooting
a
HI, im trying to create a jdbc catalog using the documentation examples for Table API.
Copy code
JdbcCatalog catalog = new JdbcCatalog(name, defaultDatabase, username, password, baseUrl);
But Im getting errors that, this is deprecated and to use new version with ClassLoader as first parameter. Can anyone help me out with how to do this? I did not see any examples on this Deprecation message:
Copy code
'@Deprecated(...) constructor(catalogName: String!, defaultDatabase: String!, username: String!, pwd: String!, baseUrl: String!): JdbcCatalog' is deprecated. Deprecated in Java.

Deprecated
please use JdbcCatalog(ClassLoader, String, String, String, String, String, String) instead.