Mybatis基於xml配置

Mybatis的基礎配置步驟: 先導包: 一、先建實體類student.java 二、新建主配置文件mybatis-configuration.xml 三、新建配置文件studentMapper.xml(對應於student這個實體) 主要是寫對應實體類的增刪改查sql語句 四、將studentMapper.xml註冊到主配置文件mybatis-configuration.xml中,如何註冊在上上
相關文章
相關標籤/搜索