Search found 12 matches

by EMartin
02.10.2019, 17:32
Forum: ZeosLib 7.2 Forum
Topic: BUG: (and fix) TransactionManager is not created when "hard_commit" is defined in Firebird
Replies: 3
Views: 332

BUG: (and fix) TransactionManager is not created when "hard_commit" is defined in Firebird

Hi, I updated to SVN revision 5967. PROBLEM: See //*** XXX *** commented lines. ZDbcInterbase6.pas: procedure TZInterbase6Connection.OnPropertiesChange(Sender: TObject); var AC,RO: Boolean; TIL: TZTransactIsolationLevel; begin if StrToBoolEx(Info.Values['hard_commit']) <> FHardCommit then begin FTra...
by EMartin
21.01.2019, 19:42
Forum: ZeosLib 7.2 Forum
Topic: [SOLVED] ZDbcIntfs.pas hangs when using in a DLL with last revision
Replies: 3
Views: 740

Re: ZDbcIntfs.pas hangs when using in a DLL with last revision

I can confirm that the problem has been solved.

Thank you.
by EMartin
18.01.2019, 15:04
Forum: ZeosLib 7.2 Forum
Topic: [SOLVED] ZDbcIntfs.pas hangs when using in a DLL with last revision
Replies: 3
Views: 740

Re: ZDbcIntfs.pas hangs when using in a DLL with last revision

I know that the problem is because no message processing (at least in Windows) but I wan't to implement a DLL for database connections I just need the enum types.

Thanks.
by EMartin
17.01.2019, 12:23
Forum: ZeosLib 7.2 Forum
Topic: [SOLVED] ZDbcIntfs.pas hangs when using in a DLL with last revision
Replies: 3
Views: 740

[SOLVED] ZDbcIntfs.pas hangs when using in a DLL with last revision

I use ZDbcIntfs.pas in a unit for referencing tiNone enum type, also use this unit in a DLL, but now the DLL hangs because of the timer creation. fault code: { TZDriverManager } {** Constructs this object with default properties. } constructor TZDriverManager.Create; begin FDriversCS := TCriticalSec...
by EMartin
14.09.2018, 15:03
Forum: ZeosLib 7.3/8.0 Forum
Topic: [SOLVED] How execute PostgreSQL anonymous code block ?
Replies: 0
Views: 3108

[SOLVED] How execute PostgreSQL anonymous code block ?

Hi, I'm trying execute anonymous code block in PostgreSQL using TZReadOnlyQuery but I have the error "ERROR: syntax error at end of input". Is possible execute PostgreSQL anonymous block in Zeos ? Thanks. Update: I found the error, "if" statement it was not closed with "end ...
by EMartin
26.03.2018, 20:10
Forum: ZeosLib 7.2 Forum
Topic: Firebird error "Wildcard searches are not suported with Firebird 1.5 and 1.0 ..."
Replies: 7
Views: 1378

[SOLVED]Re: Firebird error "Wildcard searches are not suported with Firebird 1.5 and 1.0 ..."

Jan, I can confirm you that the correction works (I guess with revision 4419 in ZDbcConnection.pas).

Thank you very much.

Esteban.
by EMartin
26.03.2018, 15:41
Forum: ZeosLib 7.2 Forum
Topic: Firebird error "Wildcard searches are not suported with Firebird 1.5 and 1.0 ..."
Replies: 7
Views: 1378

Re: Firebird error "Wildcard searches are not suported with Firebird 1.5 and 1.0 ..."

Thanks Jan for your explanation.
Zeos will now automatically connect to the database as soon as IZConnection.GetMetadata is called. This should resolve your immediate problem.
When this modification would be ready ?

Best regard.

Esteban.
by EMartin
23.03.2018, 21:02
Forum: ZeosLib 7.2 Forum
Topic: Firebird error "Wildcard searches are not suported with Firebird 1.5 and 1.0 ..."
Replies: 7
Views: 1378

Re: Firebird error "Wildcard searches are not suported with Firebird 1.5 and 1.0 ..."

I solved this error connecting to database when initiliazing mORMot interfaced based service, I'm not happy with this patch because formely weren't need. Can you to implement another solution ?

Thanks.

Esteban.
by EMartin
23.03.2018, 19:51
Forum: ZeosLib 7.2 Forum
Topic: Firebird error "Wildcard searches are not suported with Firebird 1.5 and 1.0 ..."
Replies: 7
Views: 1378

Re: Firebird error "Wildcard searches are not suported with Firebird 1.5 and 1.0 ..."

Thanks Jan for you reply, and ... Edit: We found one loop hole where things could raise this error: If you call GetColumns before you open the connection, this error would be generated. But this shouldn't have changed during the last months... ... it seems to be the case, the mORMot framework create...
by EMartin
22.03.2018, 16:46
Forum: ZeosLib 7.2 Forum
Topic: Firebird error "Wildcard searches are not suported with Firebird 1.5 and 1.0 ..."
Replies: 7
Views: 1378

Firebird error "Wildcard searches are not suported with Firebird 1.5 and 1.0 ..."

Hi, I updated Zeos to 7.2 rev.4401 and I am having this exception (using Zeos with mORMot): EZSQLException ("Wildcard searches are not suported with Firebird 1.5 and 1.0. Use IZDatabaseMetadata.AddEscapeCharToWildcards to escape wildcards in table names.") at 006BEE88 ZDbcInterbase6Metadat...