MyBatis3_11_SSM框架

SSM框架:Spring SpringMVC  MyBatis MyBatis在裏面主要負責對數據層的訪問。下面通過一個簡單的demo來介紹:   因此,在myBatis.xml配置文件中,只需別名就可以了。 在applicationContext.xml文件中,就配置了Spring與Mybatis結合的配置: 在SpringMvc-config.xml中還是: 新建如下圖的包結構: 模擬一次用戶
相關文章
相關標籤/搜索