Skip to content
This repository has been archived by the owner on Nov 18, 2021. It is now read-only.

DBZ-3055 Capture table state when LogMiner session fails #250

Merged
merged 2 commits into from Feb 5, 2021

Conversation

Naros
Copy link
Member

@Naros Naros commented Feb 4, 2021

Copy link
Member

@gunnarmorling gunnarmorling left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. One question inline, no blocker.

@jpechane, can you include this for the relase?

* @throws SQLException thrown if an exception occurs performing a SQL operation
*/
private static void logQueryResults(Connection connection, String query) throws SQLException {
try (PreparedStatement s = connection.prepareStatement(query); ResultSet rs = s.executeQuery()) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would it help to use one of the utility methods on JdbcConnection?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Adjusted the API to pass in OracleConnection so we could access those methods. I'll add making sure we align to using that class primarily for connection operations as it relates to LogMinerHelper in DBZ-2552.

@gunnarmorling
Copy link
Member

gunnarmorling commented Feb 4, 2021 via email

@jpechane jpechane merged commit 933ca55 into debezium:master Feb 5, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
3 participants