如何获得preparedStatement的sql语句给preparedStatement付值之后,如何获得preparedStatement的sql语句[解决办法]目前是不可能的[解决办法]System.out.println(ps.toString()); 输出的后半部分就是了。