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
相关文章
相关标签/搜索