DDL queries should be skipped by JDBC driver

Can we log query handle also