Search found 7 matches
- 15.04.2021, 23:07
- Forum: ZeosLib 7.3/8.0 Forum
- Topic: How difficult to add the PingServer method to TZFirebirdConnection, like in TZInterbase6Connection?
- Replies: 3
- Views: 187
Re: How difficult to add the PingServer method to TZFirebirdConnection, like in TZInterbase6Connection?
Hello, I temporarily implemented my own PingServer function through the request of the current time on the database server: select current_timestamp from rdb$database It's not quite good, because a real query for the database is performed, instead of receiving a version of the server API, or somethi...
- 13.04.2021, 23:27
- Forum: ZeosLib 7.3/8.0 Forum
- Topic: Issue with uses Windows under Linux in the latest trunk
- Replies: 1
- Views: 126
Issue with uses Windows under Linux in the latest trunk
Hello, When compiling the last trunk of ZeosLib in FPC under Linux, an error has appeared: ZDbcFirebirdInterbase.pas(68,31) Fatal: Cannot find Windows used by ZDbcFirebirdInterbase of package zdbc. unit ZDbcFirebirdInterbase: As is in the latest trunk: {$IF not declared(INFINITE)}Windows,{$IFEND}//o...
- 12.04.2021, 18:35
- Forum: ZeosLib 7.3/8.0 Forum
- Topic: How difficult to add the PingServer method to TZFirebirdConnection, like in TZInterbase6Connection?
- Replies: 3
- Views: 187
How difficult to add the PingServer method to TZFirebirdConnection, like in TZInterbase6Connection?
Hello, How difficult to add the PingServer method to TZFirebirdConnection, like in TZInterbase6Connection? Now the TZAbstractDbcConnection.PingServer function is called, which throws the EZUnsupportedException exception: Raise EZUnsupportedException.Create(SUnsupportedOperation); / TZInterbase6Conne...
- 09.04.2021, 17:37
- Forum: ZeosLib 7.3/8.0 Forum
- Topic: Is it possible to return more detailed error message from Firebird?
- Replies: 6
- Views: 885
Re: Is it possible to return more detailed error message from Firebird?
Hello, I tried to repeat on the latest version of Zeoslib the same cases as last time. 1. Error executing a stored procedure - the types of formal and actual parameters do not matches. Was: SQL Error: Dynamic SQL Error; SQL error code = -303; arithmetic exception, numeric overflow, or string truncat...
- 08.04.2021, 13:20
- Forum: ZeosLib 7.3/8.0 Forum
- Topic: Is it possible to return more detailed error message from Firebird?
- Replies: 6
- Views: 885
Re: Is it possible to return more detailed error message from Firebird?
Hello, I have had a little time to debug the TZInterbaseFirebirdConnection.HandleErrorOrWarning() method. unit ZDbcFirebirdInterbase procedure TZInterbaseFirebirdConnection.HandleErrorOrWarning() ... InterbaseStatusVector := InterpretInterbaseStatus(StatusVector); ErrorCode := InterbaseStatusVector[...
- 30.03.2021, 20:02
- Forum: ZeosLib 7.3/8.0 Forum
- Topic: Is it possible to return more detailed error message from Firebird?
- Replies: 6
- Views: 885
Is it possible to return more detailed error message from Firebird?
Good day, Sorry if I just did not figure it out, I work with ZeosLib relatively short time. Can you tell me, please, is it possible to return all the error messages from the Firebird, when an error occurs, and not just a one element from FB status vector? If there is no such feature, is it possible ...
- 30.03.2021, 18:47
- Forum: ZeosLib 7.3/8.0 Forum
- Topic: Is it possible to return more detailed error message from Firebird?
- Replies: 1
- Views: 192
Is it possible to return more detailed error message from Firebird?
Good day, Sorry if I just did not figure it out, I work with Zeoslib relatively short time. Can you tell me, please, is it possible to return all the error messages from the Firebird, when an error occurs, and not just a one element from FB status vector? If there is no such feature, is it possible ...