1.首先讲解的是MyBatis核心配置文件configuration.xml的配置 一个完整的configuration.xml配置顺序如下: properties,settings,typeAliases,typeHandlers,objectFactory,objectWrapperFactory,plugins,environments,databaseIdProvider,mappers. 如果没有按照上面的标签顺序来配置,编译器会提示The content of element typ
通过上篇文章 继承的本质 深入介绍了继承过程中对象的的创建过程,相信对继承已经有了一个深入的理解,本文则详细剖析一下面向对象设计的另一要素多态(Polymorphsim). 什么是多态 官方MSDN上是这样描述的点此可查看原文连接: Polymorphism is a Greek word that means "many-shaped" and it has two distinct aspects: At run time, objects of a derived class m