DataGrip retry strategies: ON CONFLICT upsert vs transaction rollback for idempotent writes
Goal Determine the most reliable approach in DataGrip to retry failed write operations without creating duplicate records when the initial attempt partially succeeded or raised a constraint violation. Constraint The solution must work across common databases supported by DataGrip (PostgreSQL, MySQL, SQL Server) and integrate with DataGrip's built-in 'Run' co