Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何为某些对象的删除操作定义我的映射器。例如,像这样:
@Delete("delete from customer c where c.id = #{customerID:INTEGER} ") public void delete(Customer customer);
这样的事情可能吗?
当我尝试类似的事情时,我在运行测试时遇到异常:
org.apache.ibatis.binding.BindingException:无效的绑定语句(未找到):
请确保您的 Customer 类中有 customerID 的 get/set 方法。
否则,请发布您的客户课程,以便我们为您提供帮助。