feat: add shadow-only SQL Server package

This commit is contained in:
zgw
2026-08-11 19:16:07 +08:00
parent aab6b8e601
commit 8b050ac9d6
10 changed files with 928 additions and 2413 deletions

View File

@@ -30,6 +30,7 @@ public class ShadowPlanningEngine {
this.properties = Objects.requireNonNull(properties, "properties");
this.transactions = new TransactionTemplate(Objects.requireNonNull(transactionManager, "transactionManager"));
this.transactions.setPropagationBehavior(TransactionDefinition.PROPAGATION_REQUIRES_NEW);
this.transactions.setIsolationLevel(TransactionDefinition.ISOLATION_READ_UNCOMMITTED);
this.transactions.setTimeout(properties.getTimeoutSeconds());
}