You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window, believe that. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Activity
TommyLemon commentedon Aug 31, 2025
@AFatFox 用 @database 指定对应数据库类型(和默认数据库类型不一致时),@Datasource 只是指定提供具体的 dbURI 等数据库配置的连接(替换 DemoSQLCfong.getDBURI 等数据库连接配置),要生产适配哪种数据库类型的 SQL 都是通过 @ 指定。
如果想省掉前端传参 @database,可以直接在 getConnection 内每个连接对应 config.setDatabase