dcoracle and lobs error

Andreas Jung andreas at andreas-jung.com
Tue Aug 15 06:15:10 EDT 2000


XXX <stephan0h at my-deja.com> wrote:
2qy
2qyHello,
2qy
2qyI'm trying to select Oracle Lobs from our database (Oracle 8.1.6) via
2qyDCOracle, but all i get is this error message:
2qy
2qy24813, 00000, "cannot send or receive an unsupported LOB"
2qy// *Cause:  An attempt was made to send a LOB across the network, but
2qyeither
2qy//          the server does not support the LOB sent by the client, or
2qythe
2qy//          client does not support the LOB sent by the server. This
2qyerror
2qy//          usually occurs when the client and server are running
2qydifferent
2qy//          versions of Oracle.
2qy// *Action: Use a version of the Oracle that supports the LOB on both
2qy//          the client and the
2qyserver.

The current version of DCOracle does not support LOBs in Oracle 8.1.X.
When you need support for LOBs inside Python you should try
JPython and JDBC to get Python connected to Oracle 8i. This works
without any problems and is more reliable compared DCOracle in the
current version. You can use all features of JDBC including LOBs 
so this should be your solution.

Cheers,
Andreas





More information about the Python-list mailing list