[Gambas-user] Release of Gambas 3.11.4
Benoît Minisini
g4mba5 at gmail.com
Sat Aug 25 12:47:42 CEST 2018
Le 25/08/2018 à 12:28, Christof Thalhofer a écrit :
> Am 13.08.2018 um 15:50 schrieb PICCORO McKAY Lenz:
>
>> we need a mayor vision of the gambas usage, it's great but it's not only
>> mysql!
>
> ODBC is a standard interface to different databases. But each database
> vendor has to provide a ODBC-driver to use its database together with ODBC.
>
> So if Gambas ODBC works with Postgresql and Mysql as Benoît says, it is
> a clear sign that Gambas ODBC is completely ok. You should ask the
> database vendor to provide a correct ODBC-driver for your OS. Here is a
> list of ODBC drivers for different DBs:
>
> http://www.unixodbc.org/drivers.html
>
> If something is buggy you normally can log SQL statments on the database
> side and so see the difference between what is sent by your program to
> the ODBC-driver and what commands the database got from the ODBC-driver.
>
> And this is what I think about ODBC: Is is awful and slow and mostly a
> pain in the ass. It is often a pain because the vendors of proprietary
> databases sometimes do strange things due to marketing strategies.
>
> As an alternative you could write a component for example like
> gb.db.sapdb by yourself, as long as the vendor keeps its api stable ...
> and you have the skills.
>
>
> Alles Gute
>
> Christof Thalhofer
>
I would be more balanced.
People must understand that SQL is a poor standard that does not cover
everything you need to talk to database, and that ODBC, which is the
same idea than the Gambas database component, is an interface that
mostly tells you what ou are allowed or not allowed to do with the
underlying database driver.
Consequently, ODBC is as poor as SQL, and does not solve the differences
between database systems at all (which gb.db tries at most as possible).
I guess that some database systems miss some ODBC features that may make
the Gambas ODBC driver misbehave. But without being able to connect to
these databases, I can't guess.
ZxMarce (I don't know his real name), tried to workaround the
limitations of some ODBC drivers it encountered (see his comments in the
source code). I don't know if this may fail sometimes for other ODBC
drivers. I guess someone should start looking here.
Regards,
--
Benoît Minisini
More information about the User
mailing list