springboot引入sqlite3,mybaits自动生成器连接sqlite
warning:
这篇文章距离上次修改已过221天,其中的内容可能已经有所变动。
在Spring Boot项目中引入SQLite3并使用MyBatis Generator (MBG) 自动生成Mapper、Model和Mapper XML文件的步骤如下:
- 添加依赖到
pom.xml
:
- 配置
generatorConfig.xml
:
- 在Spring Boot应用中运行MyBatis Generator:
确保替换\`YOUR\_SQLI
评论已关闭