spring-mybatis.xml 的作用

1.spring-mybatis.xml 的作用 配置數據源>>創建 sqlsessionFactory>>生成 mapper 代理 2.步驟 2.1 配置數據源 外部db.properties 文件 jdbc.driver=com.mysql.jdbc.Driver jdbc.url=jdbc:mysql://localhost:3306/student jdbc.username=root j
相關文章
相關標籤/搜索