mybatis-enhance-actable自动更新数据库表和字段

https://blog.csdn.net/qq_37241221/article/details/122620798#:~:text=Springboot%2BMaven%2BMybatis%2Denhance%2Dactable%20%E6%A0%B9%E6%8D%AE%E5%AE%9E%E4%BD%93%E7%B1%BB%E8%87%AA%E5%8A%A8%E6%9B%B4%E6%96%B0%E6%95%B0%E6%8D%AE%E5%BA%93%E8%A1%A8%E5%92%8C%E5%AD%97%E6%AE%B5

https://blog.csdn.net/qq_34484062/article/details/126598651

https://blog.csdn.net/q15976405716/article/details/104729450

注意 application。yml 配置为

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
actable:
  table:
    auto: update
  model:
    pack: com.wteam.dragon.security.bean,com.wteam.dragon.pay.bean #扫描用于创建表的对象的包名
  database:
    type: mysql

#mybatisplus的配置
mybatis-plus:
	classpath*:xxxxxx/*.xml,classpath*:com/gitee/sunchenbin/mybatis/actable/mapping/*/*.xmlFailed to determine a suitable driver class
Licensed under CC BY-NC-SA 4.0
最后更新于 Jan 06, 2025 05:52 UTC
comments powered by Disqus
Built with Hugo
主题 StackJimmy 设计
Caret Up