hello.
comment in explain clause is always null.
it is bug?
Connection connection = null;
try {
connection = DriverManager.getConnection("jdbc:sqlite::memory:");
Statement statement = connection.createStatement();
ResultSet rs = statement.executeQuery("explain select 1 as b");
while (rs.next()) {
System.out.println("comment = " + rs.getString("comment"));
}
} catch (SQLException e) {
System.err.println(e.getMessage());
} finally {
try {
if (connection != null)
connection.close();
} catch (SQLException e) {
System.err.println(e.getMessage());
}
}
thank you
Was self resolved
I found that compile option.
thank you!