in reply to DBD Oracle ORA_XMLTYPE Seg Fault
I've noticed that for XMLTYPE output, Perl seems to need the explicit conversions to string whereas SQL Developer (and probably other SQL query tools) seem to do them automagically.my $sth = $dbh->prepare(<<SQL); DECLARE v_xml XMLTYPE; BEGIN schema.package.TEST('foo', v_xml); :out := xmltype.getclobval(v_xml); END; SQL $sth->bind_param_inout(':out', \my $xml, 32000); $sth->execute();
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: DBD Oracle ORA_XMLTYPE Seg Fault
by grump- (Novice) on Jan 03, 2013 at 15:30 UTC | |
by mje (Curate) on Jan 08, 2013 at 13:48 UTC | |
|
Re^2: DBD Oracle ORA_XMLTYPE Seg Fault
by grump- (Novice) on Jan 11, 2013 at 18:03 UTC | |
by runrig (Abbot) on May 10, 2013 at 23:11 UTC | |
by runrig (Abbot) on Jan 11, 2013 at 18:55 UTC | |
by grump- (Novice) on Jan 11, 2013 at 20:42 UTC |