You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@seata.apache.org by "wanghongzhou (via GitHub)" <gi...@apache.org> on 2024/10/11 06:43:22 UTC
Re: [I] 【seata-2.1.0】请问2.1.0版本在客户端启动的时候,出于什么考虑在启用AT模式下新增了undo_log 表是否存在的校验? [incubator-seata]
wanghongzhou commented on issue #6871:
URL: https://github.com/apache/incubator-seata/issues/6871#issuecomment-2406657888
@funky-eyes 添加这个校验无可厚非,看是否能找到更合适的校验时机。我项目使用的JPA,有UndoLog这个实体,开发环境依赖hibernate.hbm2ddl.auto=update自动维护表,测试和生产环境设置hibernate.hbm2ddl.auto=validate,用Flyway管理SQL脚本。如果没有undolog这个表,hibernate自然会报错了。现在这个检测会导致flyway管理的数据库初始化脚本都还没执行就启动报错了。
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@seata.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@seata.apache.org
For additional commands, e-mail: notifications-help@seata.apache.org