Firebird and PostgreSQL driver cross dependency
Posted: 28.03.2009, 21:19
Hi,
The Firebird zdbc implementation uses a class from PostgreSQL implementation:
TZInterbaseNumberState = class (TZPostgreSQLNumberState)
It cause an error if i set Zeos.inc to compile just the Firebird driver.
I think there should be no cross dependency among zdbc drivers.
The solution here should be one of:
1) Copy the TZPostgreSQLNumberState implementation to the firebird unit, as TZInterbaseNumberState
2) Rename TZPostgreSQLNumberState to something generic (ex: TZAbstractNumberState) and move it to some zeos generic unit
What do you think? Is it the right list to post this?
Regards,
Fabiano
The Firebird zdbc implementation uses a class from PostgreSQL implementation:
TZInterbaseNumberState = class (TZPostgreSQLNumberState)
It cause an error if i set Zeos.inc to compile just the Firebird driver.
I think there should be no cross dependency among zdbc drivers.
The solution here should be one of:
1) Copy the TZPostgreSQLNumberState implementation to the firebird unit, as TZInterbaseNumberState
2) Rename TZPostgreSQLNumberState to something generic (ex: TZAbstractNumberState) and move it to some zeos generic unit
What do you think? Is it the right list to post this?
Regards,
Fabiano