我有2 tables,它将同时更新。为此,我目前使用了3个分隔的SQL查询。如果上次查询(employee-department)发生错误或无法获得最后插入的employee,则需要回滚第一个insert(employee)。我能用我当前的查询(delete on failure as another q
, dag integer not null, landen tinyblob, uur integer not null, primary key (id)) engine=InnoDB" via JDBC(SQLExceptionsMapping.java:122) ~[mysql-connector-java-8.0.29.jar:8.0.29]
at com.mysql.cj.jdbc.StatementImpl.executeInternal(StatementImpl.java:763) ~[mysql-connector-ja
我使用select for update查询来避免由多个JVM重复处理,并且我在int-jdbc:inbound-channel-adapter中有int-jdbc:inbound-channel-adapterspring/integration/jdbc只锁定10行还是50000行?
建议通过特定于供应商的查询选项使用结果集限制,例如MySQL限制或Server或Oracle。<int-jdbc:inbound-chan