1 package dst.ass1.jpa.interceptor;
3 import org.hibernate.EmptyInterceptor;
5 public class SQLInterceptor extends EmptyInterceptor {
7 private static final long serialVersionUID = -3082243834965597947L;
10 public String onPrepareStatement(String sql) {
15 public static void resetCounter() {
19 public static int getSelectCount() {
25 * If the verbose argument is set, the interceptor prints the intercepted SQL statements to System.out.
27 * @param verbose whether or not to be verbose
29 public static void setVerbose(boolean verbose) {