主要是Ibatis的查询,修改,删除,映射和实现触发器操作! 触发器代码: DELIMITER $$ DROP PROCEDURE IF EXISTS `test`.`getEmp` $$ CREATE PROCEDURE `test`.`getEmp` (IN empid INT) BEGIN SELECT * FROM employee WHERE id = empid; END $$ DELIMITER;