On Nov 7, 2010, at 9:58 PM, RICAFORT ALFREDO wrote:

> Do you have a bleeding edge version that supports the Oracle DB? Or
> can I write a separate python program that retrieves data from an
> Oracle db and use the result to populate the bizObj or the ui controls
> directly?

        As Uwe mentioned, the adapter script for Oracle is not yet complete; no 
one involved with Dabo has access to an Oracle database in order to test this 
code.

        If you'd like to try to help out, you can try something like the 
following:

import dabo
ci = dabo.db.dConnectInfo(DbType="Oracle", Host="your_host.com", 
        Database="your_db", User="your_user", PlainTextPassword="your_pass")
cn = dabo.db.dConnection(ci)
cursor = cn.getDaboCursor()
cursor.execute("select * from sometable")
print cursor.getDataSet()

        If it gets all the way through that code, that'd be pretty amazing. 
Most likely it will crash somewhere; when it does, copy the full traceback and 
include it in your reply. We can then proceed from there.



-- Ed Leafe



_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: 
http://leafe.com/archives/byMID/[email protected]

Reply via email to