Suspected bug in DCOracle2 for LOB's 
Author Message
 Suspected bug in DCOracle2 for LOB's

I've installed the 2-1.3b DCOracle2 on windows and solaris. There's a
problem creating & inserting LOBs, and behavior is different for windows
and solaris (seg fault on solaris; error inserting the lob on windows).
This seems like a bug in DCOracle2?

**SOLARIS**

Quote:

>>> c=db.cursor()
>>> clob=db.LobLocator("SQLT_CLOB")
>>> clob.write("<f>foo there</f>")
16
>>> d='insert into foo values(2, XMLTYPE.createXML(:m))'
>>> db.execute(d, clob)
4
>>> c.execute("commit")
0
>>> c.execute("select lobfield from foo where id=2")
1
>>> c.fetchone()

Segmentation fault

**WINDOWS**

Quote:

>>> c=db.cursor()
>>> clob=db.LobLocator("SQLT_CLOB")
>>> clob.write('<f>foo there</f>')
16
>>> d='insert into foo values(8, XMLTYPE.createXML(:m))'
>>> db.execute(d,clob)

Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "DCOracle2\DCOracle2.py", line 1001, in execute
dco2.DatabaseError: (24805, 'ORA-24805: LOB type mismatch\nORA-06512: at
"SYS.XMLTYPE", line 0\nORA-
06512: at line 1')

--
To reply to me directly, please remove "UNSPAM" from my email address



Tue, 22 Nov 2005 00:14:02 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. problem with LOB's and DCOracle2

2. Can't Read a Lob via DCOracle2

3. A suspected bug

4. Help - LOB's in oratcl

5. suspected bug in "grab" command

6. A Possoble Bug in DCOracle2?

7. DCOracle and lobs

8. dcoracle and lobs error

9. oratcl and lob

10. I can't find my bug report in the Scriptics Bug DB.

11. BUGS, BUGS, BUGS, BUGS, C4 BUGS

12. Suspect e-mail

 

 
Powered by phpBB® Forum Software