Fixed a bug where "catalogName" in "TableMetaData" and "DatabaseMetaData" were connected to different databases by directly putting data into the "tableMeta" variable without verifying whether the database names were the same.

  1. problem situation I had 2 databases (fast_sns, jdbchw). The database "jdbchw" was connected even though "fast_sns" was specified in "spring.datasource.url" of "application.properties". As a result of debugging, I found that it was a problem with the "next()" method of the While statement, and added a code to verify it.

스크린샷 2023-08-08 오후 8 57 52

Comment From: pivotal-cla

@pyg410 Please sign the Contributor License Agreement!

Click here to manually synchronize the status of this Pull Request.

See the FAQ for frequently asked questions.

Comment From: pivotal-cla

@pyg410 Thank you for signing the Contributor License Agreement!

Comment From: snicoll

@pyg410 thanks for the PR but we can't really consider it without test cases that cover the problem you've described.

Comment From: snicoll

Closing due to lack of feedback.