Search found 1 match
- 03.01.2025, 17:22
- Forum: ZeosLib 7.1 stable Forum
- Topic: How to implement a ZeosLib connection pool. ZDbcPooled.pas??
- Replies: 4
- Views: 1624
Re: How to implement a ZeosLib connection pool. ZDbcPooled.pas??
ZConnectionsPool := TList<TZConnection>.Create; ZConnectionsPoolDT := TList<TDateTime>.Create; procedure AddConnectionToPool(Var Connection : TZConnection); begin if Connection.Connected then while Connection.InTransaction do Connection.Rollback; try System.TMonitor.Enter(ZConnectionsPool); ZConnec...