그래서 MyBatis 상속에서 특수 효과 작업을 수행했습니다. - 자식은 @Select
기능을 상속 받았습니다. 그러나 XML 파일은 적절하게 작동하지 않습니다. 일부는 mapper
요소에 extends
를 사용 org.apache.ibatis.binding.BindingException: Invalid bound statement /.../
MyBatis 및 XML을 사용한 상속
톱,하지만 나를 위해 그것은 "Attribute extends not allowed here"
아동에 대한 부모의 <cache/>
및 <cache-ref namespace="parent"/>
을 시도하지만 그래서 어떻게
org.apache.ibatis.builder.IncompleteElementException: No cache for namespace 'parent'
을 던졌다 말한다 : 이 발생합니다 XML 구성으로 MyBatis 상속을 사용 하시겠습니까?