Saturday, December 2, 2023

Connection String

Örnek
unable to find valid certification path to requested target şeklinde bir hata alıyorsak connection string'e
encrypt=true;trustServerCertificate=true eklenir. Şöyle yaparız
jdbc:sqlserver://localhost:1433;encrypt=true;trustServerCertificate=true

Örnek - Bu örnek doğru değil
currentSchema SQL Server için belirtilemez. Current Schema kullanıcının atanan schema'sıdır.
jdbc:sqlserver://localhost:1433;encrypt=true;trustServerCertificate=true;currentSchema=dbo

Transaction Isolation Level - Snapshot

PostgreSQL REPEATABLE READ = SQL Server SNAPSHOT (similar transaction-level snapshot behavior).