> I haven't tried it yet, but Qt 3.0 will support ODBC as a data
> source, so in my opinion it should work. I will try it next week when
> KDE 3 is released :-)

I think QODBC3 is suboptimal for SAP DB. I don't need BLOBs, but if I 
would, I couldn't use QODBC3 from qt-3.0.2, because this does not 
support BLOBS (see src/sql/drivers/odbc/qsql_odbc.cpp 
QODBCDriver::hasFeature).

Secondly, I tried it, using an old SAP DB 7.2.4.9 and the current one 
(downloaded 3 hours ago). The platform is Mandrake 8.1 (that means 
unixODBC 2.0.4) and a self-compiled qt-3.0.2.  My findings so far:

1. ODBC to SAP DB works, e.g. DataManager displays some info (I created 
a System DSN and symlinked /etc/odbc.ini to /usr/spool/sql/ini/odbc.ini 
--- when will the nice SAP people finally adhere somewhat to existing 
Linux standards?)

2. The examples/sql/sqltable connects correctly. I can verify this by 
putting wrong username or password into main.cpp. In this case I will 
see a popup with an SAP DB error message.

3. Now I use a correct username/password. Using gdb I found out that in 
QSqlCursor::setName the autopropagate stuff does not work. I always see 
the warning "unable to build record, does simpletable exist"). Which, 
by the way, exists and can be browsed and queried in DataManager.




Greetings, Holger
_______________________________________________
sapdb.general mailing list
[EMAIL PROTECTED]
http://listserv.sap.com/mailman/listinfo/sapdb.general

Reply via email to