Here you can find the source of logPreparedStatement(PreparedStatement p)
public static void logPreparedStatement(PreparedStatement p)
//package com.java2s; //License from project: Open Source License import java.sql.PreparedStatement; public class Main { public static void logPreparedStatement(PreparedStatement p) { System.out.println("[QUERY] : " + p.toString().split(": ")[1]); }/*from www. j a v a2 s . c o m*/ }