java.sql.Connection connection = (java.sql.Connection)invocation.getArgs()[0];
java.sql.PreparedStatement preparedStatement = (java.sql.PreparedStatement) connection.prepareStatement(countSql);
Connection和PreparedStatement必须引入java.sql里面的,看源码可以知道类型,注解参数Connection也是java.sql里面的
java.sql.PreparedStatement preparedStatement = (java.sql.PreparedStatement) connection.prepareStatement(countSql);
Connection和PreparedStatement必须引入java.sql里面的,看源码可以知道类型,注解参数Connection也是java.sql里面的
2017-08-08