This method receives several parameters, including a SQL statement and a result handler, and returns an object of generic type t.
这个方法接收多个参数,包括一条sql语句和一个结果处理程序,并返回一个泛型t的对象。
Also, the response to each of the anticipated exceptions is to do nothing, but the CONTINUE HANDLER declaration expects a complete SQL statement; hence the dummy assignment.
另外,对于每种可能出现的异常的响应是不做任何事,但是CONTINUE HANDLER声明需要一个完整的sql语句;因此使用伪赋值。
If a statement raises a condition for which a handler exists, the values of the SQLSTATE and SQLCODE variables are available at the beginning of the handler execution.
如果某条语句发出一个存在处理程序的条件,那么SQLSTATE和SQLCODE变量的值就可以在开始执行处理程序时获得。
应用推荐