Search found 7 matches

by lacak.sk
25.07.2006, 12:34
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: different TZConnection classes for diferent sql servers
Replies: 12
Views: 1791

Or other one short and simple solution may be : add one unit for one DB connection for example : unit ZConnectorSQLite; interface uses Classes,ZDbcSqLite; type TZSQLiteConnector=class(TComponent); implementation end. This forces initialization part of ZDbcSqLite to register TZSQLiteDriver in DriverM...
by lacak.sk
25.07.2006, 09:37
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: different TZConnection classes for diferent sql servers
Replies: 12
Views: 1791

also lets speak about code that I post .
If it is way or not ...
by lacak.sk
25.07.2006, 07:07
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: different TZConnection classes for diferent sql servers
Replies: 12
Views: 1791

:-) I started programing 20 years ago, when 64KB of RAM was "standard". So I still understand programing as art of making code as effective (fast and short) as possible. Also look at this situation from point of view, when there will be for example 10-15 supported DBMS and everhead of unus...
by lacak.sk
24.07.2006, 12:07
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: different TZConnection classes for diferent sql servers
Replies: 12
Views: 1791

:-) hm "core developers" ... I refer to people, who are familiar with "core" source code. As I am new to zeos lib, I must study whole source code with dependencies etc. to fully understand it. I am not sure, if I can supply solution which uses only compiler switches {$DEFINE,$IFD...
by lacak.sk
24.07.2006, 07:38
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: different TZConnection classes for diferent sql servers
Replies: 12
Views: 1791

Hi Attila, Re1: the problem is that at design time I need all database support, becasue one time I develop db application for Firebird and at second time for SQLite and then for MySQL. But when I compile such application support for all databases is linked (due to setting in zeos.inc, where is enabl...
by lacak.sk
24.07.2006, 06:28
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: firebird CREATE DATABASE
Replies: 4
Views: 1358

Try use this (as documentation say) :

createNewDatabase=<sql command database creation> - Created new database before open database defined in TZConnection.

set it in Parameters of TZConnections ...
by lacak.sk
21.07.2006, 11:40
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: different TZConnection classes for diferent sql servers
Replies: 12
Views: 1791

different TZConnection classes for diferent sql servers

Hi, consider please the following situation : 1. I install zeos package, enabling in zeos.inc for example Interbase and SQLite support, because I plan develop 2 applications. First is client/server and uses Interbase and the second is application, that uses sqlite 2. I build first application, which...