Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> OCCI with spatial

OCCI with spatial

From: don hunt <dohunt_at_hotmail.com>
Date: 12 Apr 2004 14:12:20 -0700
Message-ID: <1b56e975.0404121312.59f20b93@posting.google.com>


Hello-

I"m trying to get the OCCI example with spatial objects (http://otn.oracle.com/sample_code/tech/occi/index.html) to work. The inserts work great but the select is core dumping.

On the line with rs->getObject(3), it is crashing in the ott generated file occi_spatialo.cpp at the function
void SDOPointType::readSQL(oracle::occi::AnyData& streamOCCI_) {

X = streamOCCI_.getNumber();
Y = streamOCCI_.getNumber();
Z = streamOCCI_.getNumber();

}

Anyone get this example to work on Sun (9) and Oracle (9.2.0.4)?

Thanks! Received on Mon Apr 12 2004 - 16:12:20 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US