[SQLObject] Oracle support: Binary type
SQLObject is a Python ORM.
Brought to you by:
ianbicking,
phd
From: Dmitry C. <dch...@ot...> - 2005-11-10 07:55:47
|
Hello all. Currently I work on Oracle support for SQLObject. I use cx_Oracle as database driver. It is said to be DB API 2.0 compliant, but it does not provide Binary type, as other drivers do. I'm not an experienced SQLObject user; the contrary is true. So, can anyone please enlighten me about the use of Binary datatype in SQLObject? Why dbconnection.py pays such special attention to it? Now I just emulate it by adding a Binary type as type(buffer('')) to the module after import. I did not test binary columns yet. (For anyone else interested: now db connection works, table creation works, most of retrieval methods work; class guessing by data structure does not work yet. After all, it was only a 2-day effort so far :)) -- WBR, Dmitry Cheryasov |